#2E5F87#2E5F87

#2E5F87 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.084 H 245.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2E5F87
RGBrgb(46, 95, 135)
HSLhsl(207, 49%, 35%)
HSVhsv(207, 66%, 53%)
CMYKcmyk(65.9%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.75, -3.21, -27.15)
CIE-LCHlch(38.75, 27.34, 263.26°)
OKLaboklab(47.02% -0.0348 -0.0766)
OKLCHoklch(47.02% 0.084 245.6)
XYZxyz(9.5905, 10.5136, 24.4409)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F87 #87562E
analogous
#2E8782 #2E5F87 #2E3387
triadic
#2E5F87 #872E5F #5F872E
tetradic
#2E5F87 #822E87 #87562E #33872E
square
#2E5F87 #822E87 #87562E #33872E
split-complementary
#2E5F87 #872E33 #87822E
monochromatic
#0F1F2C #1E3F59 #2E5F87 #3E7FB5 #659DCA

Accessibility & contrast

On white

6.77
#2E5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F87
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F87#FFFFFF#000000##FFFFFF
##2E5F871.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5f87;
/* rgb */ color: rgb(46, 95, 135);
/* oklch */ color: oklch(47.0% 0.084 245.6);
Tailwind
colors: {
  custom: {
    50: '#708caa',
    500: '#2e5f87',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f87;
$custom-light: #708caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f87",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 206.966,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47016,
    "c": 0.08407,
    "h": 245.6
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#2E5F87
secondary
#B18460
accent
#8D4FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2E5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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