#2E5D8B#2E5D8B

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

Color values

HEX#2E5D8B
RGBrgb(46, 93, 139)
HSLhsl(210, 50%, 36%)
HSVhsv(210, 67%, 55%)
CMYKcmyk(66.9%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.33, -0.52, -30.24)
CIE-LCHlch(38.33, 30.25, 269.02°)
OKLaboklab(46.75% -0.0313 -0.0855)
OKLCHoklch(46.75% 0.091 249.9)
XYZxyz(9.6995, 10.2727, 25.8927)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D8B #8B5C2E
analogous
#2E8B8B #2E5D8B #2E2F8B
triadic
#2E5D8B #8B2E5D #5D8B2E
tetradic
#2E5D8B #8B2E8B #8B5C2E #2F8B2E
square
#2E5D8B #8B2E8B #8B5C2E #2F8B2E
split-complementary
#2E5D8B #8B2E2F #8B8B2E
monochromatic
#101F2F #1F3E5D #2E5D8B #3D7CB9 #679ACD

Accessibility & contrast

On white

6.87
#2E5D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2E5D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5D8B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D8B#FFFFFF#000000##FFFFFF
##2E5D8B1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e5d8b;
/* rgb */ color: rgb(46, 93, 139);
/* oklch */ color: oklch(46.8% 0.091 249.9);
Tailwind
colors: {
  custom: {
    50: '#718aad',
    500: '#2e5d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d8b;
$custom-light: #718aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d8b",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 209.677,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4675,
    "c": 0.09108,
    "h": 249.9
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#2E5D8B
secondary
#B38A61
accent
#934EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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