#2E5B8A#2E5B8A

#2E5B8A is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.2% C 0.092 H 251.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2E5B8A
RGBrgb(46, 91, 138)
HSLhsl(211, 50%, 36%)
HSVhsv(211, 67%, 54%)
CMYKcmyk(66.7%, 34.1%, 0%, 45.9%)
CIE-LABlab(37.66, 0.38, -30.69)
CIE-LCHlch(37.66, 30.69, 270.71°)
OKLaboklab(46.21% -0.0293 -0.0869)
OKLCHoklch(46.21% 0.092 251.3)
XYZxyz(9.4536, 9.8971, 25.4519)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B8A #8A5D2E
analogous
#2E898A #2E5B8A #2F2E8A
triadic
#2E5B8A #8A2E5B #5B8A2E
tetradic
#2E5B8A #8A2E89 #8A5D2E #2E8A2F
square
#2E5B8A #8A2E89 #8A5D2E #2E8A2F
split-complementary
#2E5B8A #8A2F2E #898A2E
monochromatic
#0F1E2E #1F3D5C #2E5B8A #3D79B8 #6698CC

Accessibility & contrast

On white

7.05
#2E5B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2E5B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5B8A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B8A#FFFFFF#000000##FFFFFF
##2E5B8A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D8C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e5b8a;
/* rgb */ color: rgb(46, 91, 138);
/* oklch */ color: oklch(46.2% 0.092 251.3);
Tailwind
colors: {
  custom: {
    50: '#7189ac',
    500: '#2e5b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b8a;
$custom-light: #7189ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b8a",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 210.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.0917,
    "h": 251.3
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#2E5B8A
secondary
#B38B61
accent
#954EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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