#2E5181#2E5181

#2E5181 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.090 H 256.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2E5181
RGBrgb(46, 81, 129)
HSLhsl(215, 47%, 34%)
HSVhsv(215, 64%, 51%)
CMYKcmyk(64.3%, 37.2%, 0%, 49.4%)
CIE-LABlab(34.09, 3.51, -30.82)
CIE-LCHlch(34.09, 31.02, 276.49°)
OKLaboklab(43.26% -0.0207 -0.0874)
OKLCHoklch(43.26% 0.09 256.7)
XYZxyz(8.0302, 8.0499, 21.8952)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5181 #815E2E
analogous
#2E7B81 #2E5181 #352E81
triadic
#2E5181 #812E51 #51812E
tetradic
#2E5181 #812E7B #815E2E #2E8135
square
#2E5181 #812E7B #815E2E #2E8135
split-complementary
#2E5181 #81352E #7B812E
monochromatic
#0E1827 #1E3554 #2E5181 #3E6DAE #628DC7

Accessibility & contrast

On white

8.05
#2E5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E5181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5181
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5181#FFFFFF#000000##FFFFFF
##2E51811.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#314D80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5181;
/* rgb */ color: rgb(46, 81, 129);
/* oklch */ color: oklch(43.3% 0.090 256.7);
Tailwind
colors: {
  custom: {
    50: '#6f81a6',
    500: '#2e5181',
    950: '#000000',
  },
}
SCSS
$custom: #2e5181;
$custom-light: #6f81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5181",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 214.699,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.08977,
    "h": 256.7
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#2E5181
secondary
#AE8C5D
accent
#9E51D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5181

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

Preview Lab → · Contrast checker → · Palette generator →

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