#2E5A87#2E5A87

#2E5A87 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.8% C 0.089 H 250.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2E5A87
RGBrgb(46, 90, 135)
HSLhsl(210, 49%, 35%)
HSVhsv(210, 66%, 53%)
CMYKcmyk(65.9%, 33.3%, 0%, 47.1%)
CIE-LABlab(37.19, -0.08, -29.60)
CIE-LCHlch(37.19, 29.60, 269.85°)
OKLaboklab(45.79% -0.0291 -0.0837)
OKLCHoklch(45.79% 0.089 250.8)
XYZxyz(9.1544, 9.6415, 24.2955)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A87 #875B2E
analogous
#2E8687 #2E5A87 #2E2E87
triadic
#2E5A87 #872E5A #5A872E
tetradic
#2E5A87 #872E86 #875B2E #2E872E
square
#2E5A87 #872E86 #875B2E #2E872E
split-complementary
#2E5A87 #872E2E #86872E
monochromatic
#0F1D2C #1E3C59 #2E5A87 #3E78B5 #6597CA

Accessibility & contrast

On white

7.17
#2E5A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2E5A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A87
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A87#FFFFFF#000000##FFFFFF
##2E5A871.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#3A5486
Tritanopia (blue-blind)
#00656A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5a87;
/* rgb */ color: rgb(46, 90, 135);
/* oklch */ color: oklch(45.8% 0.089 250.8);
Tailwind
colors: {
  custom: {
    50: '#7088aa',
    500: '#2e5a87',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a87;
$custom-light: #7088aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a87",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 135
  },
  "hsl": {
    "h": 210.337,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.08864,
    "h": 250.8
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#2E5A87
secondary
#B18960
accent
#954FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5A87

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

Preview Lab → · Contrast checker → · Palette generator →

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