#2E5E87#2E5E87

#2E5E87 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.085 H 246.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E5E87
RGBrgb(46, 94, 135)
HSLhsl(208, 49%, 35%)
HSVhsv(208, 66%, 53%)
CMYKcmyk(65.9%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.44, -2.59, -27.64)
CIE-LCHlch(38.44, 27.76, 264.65°)
OKLaboklab(46.77% -0.0336 -0.078)
OKLCHoklch(46.77% 0.085 246.7)
XYZxyz(9.5010, 10.3346, 24.4110)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E87 #87572E
analogous
#2E8783 #2E5E87 #2E3287
triadic
#2E5E87 #872E5E #5E872E
tetradic
#2E5E87 #832E87 #87572E #32872E
square
#2E5E87 #832E87 #87572E #32872E
split-complementary
#2E5E87 #872E32 #87832E
monochromatic
#0F1E2C #1E3E59 #2E5E87 #3E7EB5 #659CCA

Accessibility & contrast

On white

6.85
#2E5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5E87
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E87#FFFFFF#000000##FFFFFF
##2E5E871.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5e87;
/* rgb */ color: rgb(46, 94, 135);
/* oklch */ color: oklch(46.8% 0.085 246.7);
Tailwind
colors: {
  custom: {
    50: '#708baa',
    500: '#2e5e87',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e87;
$custom-light: #708baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e87",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 207.64,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46769,
    "c": 0.08492,
    "h": 246.7
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#2E5E87
secondary
#B18560
accent
#8E4FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2E5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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