#2E5D87#2E5D87

#2E5D87 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.5% C 0.086 H 247.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2E5D87
RGBrgb(46, 93, 135)
HSLhsl(208, 49%, 35%)
HSVhsv(208, 66%, 53%)
CMYKcmyk(65.9%, 31.1%, 0%, 47.1%)
CIE-LABlab(38.12, -1.97, -28.13)
CIE-LCHlch(38.12, 28.20, 266.00°)
OKLaboklab(46.52% -0.0325 -0.0794)
OKLCHoklch(46.52% 0.086 247.7)
XYZxyz(9.4126, 10.1579, 24.3816)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D87 #87582E
analogous
#2E8784 #2E5D87 #2E3087
triadic
#2E5D87 #872E5D #5D872E
tetradic
#2E5D87 #842E87 #87582E #30872E
square
#2E5D87 #842E87 #87582E #30872E
split-complementary
#2E5D87 #872E30 #87842E
monochromatic
#0F1E2C #1E3E59 #2E5D87 #3E7CB5 #659BCA

Accessibility & contrast

On white

6.93
#2E5D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2E5D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5D87
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D87#FFFFFF#000000##FFFFFF
##2E5D871.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5d87;
/* rgb */ color: rgb(46, 93, 135);
/* oklch */ color: oklch(46.5% 0.086 247.7);
Tailwind
colors: {
  custom: {
    50: '#708aaa',
    500: '#2e5d87',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d87;
$custom-light: #708aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d87",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 208.315,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46524,
    "c": 0.08581,
    "h": 247.7
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#2E5D87
secondary
#B18660
accent
#904FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5D87

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

Preview Lab → · Contrast checker → · Palette generator →

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