#2E5785#2E5785

#2E5785 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.089 H 252.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2E5785
RGBrgb(46, 87, 133)
HSLhsl(212, 49%, 35%)
HSVhsv(212, 65%, 52%)
CMYKcmyk(65.4%, 34.6%, 0%, 47.8%)
CIE-LABlab(36.16, 1.10, -30.01)
CIE-LCHlch(36.16, 30.03, 272.10°)
OKLaboklab(44.95% -0.0264 -0.0849)
OKLCHoklch(44.95% 0.089 252.8)
XYZxyz(8.7670, 9.0898, 23.4782)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5785 #855C2E
analogous
#2E8285 #2E5785 #312E85
triadic
#2E5785 #852E57 #57852E
tetradic
#2E5785 #852E82 #855C2E #2E8531
square
#2E5785 #852E82 #855C2E #2E8531
split-complementary
#2E5785 #85312E #82852E
monochromatic
#0F1C2A #1E3958 #2E5785 #3E75B2 #6494C9

Accessibility & contrast

On white

7.45
#2E5785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E5785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5785
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5785#FFFFFF#000000##FFFFFF
##2E57851.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A87
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5785;
/* rgb */ color: rgb(46, 87, 133);
/* oklch */ color: oklch(44.9% 0.089 252.8);
Tailwind
colors: {
  custom: {
    50: '#7086a9',
    500: '#2e5785',
    950: '#000000',
  },
}
SCSS
$custom: #2e5785;
$custom-light: #7086a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5785",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 211.724,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44945,
    "c": 0.08893,
    "h": 252.8
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#2E5785
secondary
#B08A5F
accent
#9850D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5785

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

Preview Lab → · Contrast checker → · Palette generator →

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