#2E5884#2E5884

#2E5884 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.087 H 251.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2E5884
RGBrgb(46, 88, 132)
HSLhsl(211, 48%, 35%)
HSVhsv(211, 65%, 52%)
CMYKcmyk(65.2%, 33.3%, 0%, 48.2%)
CIE-LABlab(36.41, 0.10, -28.99)
CIE-LCHlch(36.41, 28.99, 270.19°)
OKLaboklab(45.13% -0.0278 -0.0819)
OKLCHoklch(45.13% 0.087 251.3)
XYZxyz(8.7798, 9.2254, 23.1433)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5884 #845A2E
analogous
#2E8384 #2E5884 #2F2E84
triadic
#2E5884 #842E58 #58842E
tetradic
#2E5884 #842E83 #845A2E #2E842F
square
#2E5884 #842E83 #845A2E #2E842F
split-complementary
#2E5884 #842F2E #83842E
monochromatic
#0E1B29 #1E3A57 #2E5884 #3E76B1 #6495C9

Accessibility & contrast

On white

7.38
#2E5884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E5884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5884
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5884#FFFFFF#000000##FFFFFF
##2E58841.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A86
Deuteranopia (green-blind)
#395283
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e5884;
/* rgb */ color: rgb(46, 88, 132);
/* oklch */ color: oklch(45.1% 0.087 251.3);
Tailwind
colors: {
  custom: {
    50: '#7086a8',
    500: '#2e5884',
    950: '#000000',
  },
}
SCSS
$custom: #2e5884;
$custom-light: #7086a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5884",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 210.698,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.08653,
    "h": 251.3
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#2E5884
secondary
#B0885E
accent
#9550D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2E5884

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

Preview Lab → · Contrast checker → · Palette generator →

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