#2E5B8E#2E5B8E

#2E5B8E is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.4% C 0.097 H 253.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2E5B8E
RGBrgb(46, 91, 142)
HSLhsl(212, 51%, 37%)
HSVhsv(212, 68%, 56%)
CMYKcmyk(67.6%, 35.9%, 0%, 44.3%)
CIE-LABlab(37.87, 1.85, -32.78)
CIE-LCHlch(37.87, 32.83, 273.23°)
OKLaboklab(46.44% -0.0282 -0.093)
OKLCHoklch(46.44% 0.097 253.1)
XYZxyz(9.7485, 10.0150, 27.0053)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B8E #8E612E
analogous
#2E8B8E #2E5B8E #312E8E
triadic
#2E5B8E #8E2E5B #5B8E2E
tetradic
#2E5B8E #8E2E8B #8E612E #2E8E31
square
#2E5B8E #8E2E8B #8E612E #2E8E31
split-complementary
#2E5B8E #8E312E #8B8E2E
monochromatic
#102032 #1F3D60 #2E5B8E #3D79BC #6898CE

Accessibility & contrast

On white

6.99
#2E5B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2E5B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5B8E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B8E#FFFFFF#000000##FFFFFF
##2E5B8E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e5b8e;
/* rgb */ color: rgb(46, 91, 142);
/* oklch */ color: oklch(46.4% 0.097 253.1);
Tailwind
colors: {
  custom: {
    50: '#7189af',
    500: '#2e5b8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b8e;
$custom-light: #7189af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b8e",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 142
  },
  "hsl": {
    "h": 211.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.09716,
    "h": 253.1
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#2E5B8E
secondary
#B58E63
accent
#984DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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