ChromaWell

medium blue

#2C6FBB

Every value on this page is computed at build time from the hex code above using ChromaWell's shared, unit-tested color-core library — the same conversion, contrast, and nearest-name math used across every color page on this site, so a value here matches the same color looked up anywhere else on ChromaWell.

The conversions block gives you the same color in seven common formats (hex, RGB, HSL, HSV, CMYK, Lab, and OKLCH) so you can copy whichever your codebase or design tool expects. The contrast block applies the WCAG 2.x relative-luminance formula against several common backgrounds and reports whether text in this color would pass AA or AAA at normal and large text sizes. Shades/tints step the lightness up and down at a fixed hue and saturation; harmonies rotate the hue around the color wheel to surface complementary, analogous, triadic, and split-complementary partners; and nearest named colors ranks the closest matches from our full 1,094-color dataset by CIE76 Delta-E distance in Lab space, a perceptual distance metric rather than a raw RGB difference.

Conversions

HEX
#2C6FBB
RGB
rgb(44, 111, 187)
HSL
hsl(211.9, 61.9%, 45.3%)
HSV
hsv(211.9, 76.5%, 73.3%)
CMYK
cmyk(76.5, 40.6, 0, 26.7)
Lab
lab(46.3, 5.75, -46.03)
OKLCH
oklch(0.5382 0.1368 254)

WCAG contrast

  • On white: 5.12:1 — normal text AA, large text AAA
  • On black: 4.1:1 — normal text FAIL, large text AA
  • On pure white: 5.12:1 — normal text AA, large text AAA
  • On pure black: 4.1:1 — normal text FAIL, large text AA
  • On light gray (#F3F4F6): 4.66:1 — normal text AA, large text AAA
  • On dark slate (#1F2937): 2.86:1 — normal text FAIL, large text FAIL

Ratios computed from WCAG 2.x relative luminance; AA needs 4.5:1 for normal text and 3:1 for large text (18pt+ or 14pt+ bold), AAA needs 7:1 and 4.5:1 respectively.

Shades & tints

#0F253F
#1D4A7D
#2C6FBB
#5B96D8
#99BEE7

Lightness stepped ±15% and ±30% in HSL space at constant hue and saturation (211.9°, 61.9%) — a shade darkens toward black, a tint lightens toward white.

Color harmonies

Hue-wheel relationships computed at this color's exact hue (211.9°), holding saturation and lightness constant.

Complementary

#BB782C

rgb(187, 120, 44)

Analogous −30°

#2CB6BB

rgb(44, 182, 187)

Analogous +30°

#312CBB

rgb(49, 44, 187)

Triadic 120°

#BB2C6F

rgb(187, 44, 111)

Triadic 240°

#6FBB2C

rgb(111, 187, 44)

Split-complementary −150°

#B6BB2C

rgb(182, 187, 44)

Split-complementary +150°

#BB312C

rgb(187, 49, 44)

Nearest named colors

  • CornflowerBlue (ΔE 16.4)
  • SteelBlue (ΔE 18.1)
  • DodgerBlue (ΔE 22.1)
  • DarkSlateBlue (ΔE 25.8)
  • RoyalBlue (ΔE 28.2)

Ranked by CIE76 Delta-E distance in Lab space — the lower the number, the closer the perceptual match to this exact color.

Perceptual profile

Hue 211.9° places this color in the cool range of the wheel. At 61.9% saturation it reads as moderately saturated, and at 45.3% lightness it sits at mid-tone. In OKLCH — the newer, perceptually uniform color space — this color's lightness is 0.5382, chroma 0.1368, hue 254°, which is a more accurate predictor of how "bright" this color will look next to others than HSL lightness alone.

Use in CSS

This is a cool hue at 61.9% saturation and 45.3% lightness. Drop it into a stylesheet as a custom property:

:root {
  --color-2c6fbb: #2C6FBB;
}
.el {
  color: var(--color-2c6fbb);
}

Part of the open xkcd color survey named-color set — see methodology.