#2E5A8A#2E5A8A

#2E5A8A is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.093 H 252.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2E5A8A
RGBrgb(46, 90, 138)
HSLhsl(211, 50%, 36%)
HSVhsv(211, 67%, 54%)
CMYKcmyk(66.7%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.35, 1.02, -31.18)
CIE-LCHlch(37.35, 31.19, 271.87°)
OKLaboklab(45.97% -0.0282 -0.0883)
OKLCHoklch(45.97% 0.093 252.3)
XYZxyz(9.3686, 9.7272, 25.4236)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A8A #8A5E2E
analogous
#2E888A #2E5A8A #302E8A
triadic
#2E5A8A #8A2E5A #5A8A2E
tetradic
#2E5A8A #8A2E88 #8A5E2E #2E8A30
square
#2E5A8A #8A2E88 #8A5E2E #2E8A30
split-complementary
#2E5A8A #8A302E #888A2E
monochromatic
#0F1E2E #1F3C5C #2E5A8A #3D78B8 #6697CC

Accessibility & contrast

On white

7.13
#2E5A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E5A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A8A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A8A#FFFFFF#000000##FFFFFF
##2E5A8A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8C
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5a8a;
/* rgb */ color: rgb(46, 90, 138);
/* oklch */ color: oklch(46.0% 0.093 252.3);
Tailwind
colors: {
  custom: {
    50: '#7188ac',
    500: '#2e5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a8a;
$custom-light: #7188ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a8a",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 211.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.09272,
    "h": 252.3
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#2E5A8A
secondary
#B38C61
accent
#974EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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