#2E6BAF#2E6BAF

#2E6BAF is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.125 H 253.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2E6BAF
RGBrgb(46, 107, 175)
HSLhsl(212, 58%, 43%)
HSVhsv(212, 74%, 69%)
CMYKcmyk(73.7%, 38.9%, 0%, 31.4%)
CIE-LABlab(44.50, 4.01, -41.90)
CIE-LCHlch(44.50, 42.09, 275.47°)
OKLaboklab(52.22% -0.0357 -0.1194)
OKLCHoklch(52.22% 0.125 253.4)
XYZxyz(14.1194, 14.1898, 42.5439)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BAF #AF722E
analogous
#2EABAF #2E6BAF #312EAF
triadic
#2E6BAF #AF2E6B #6BAF2E
tetradic
#2E6BAF #AF2EAB #AF722E #2EAF31
square
#2E6BAF #AF2EAB #AF722E #2EAF31
split-complementary
#2E6BAF #AF312E #ABAF2E
monochromatic
#15304E #214D7F #2E6BAF #4B89D0 #7BA9DC

Accessibility & contrast

On white

5.47
#2E6BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2E6BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BAF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BAF#FFFFFF#000000##FFFFFF
##2E6BAF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e6baf;
/* rgb */ color: rgb(46, 107, 175);
/* oklch */ color: oklch(52.2% 0.125 253.4);
Tailwind
colors: {
  custom: {
    50: '#7894c7',
    500: '#2e6baf',
    950: '#000000',
  },
}
SCSS
$custom: #2e6baf;
$custom-light: #7894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6baf",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 211.628,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.12464,
    "h": 253.4
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#2E6BAF
secondary
#C59F74
accent
#9846E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6BAF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E6BAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva