#2E5994#2E5994

#2E5994 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.108 H 256.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2E5994
RGBrgb(46, 89, 148)
HSLhsl(215, 53%, 38%)
HSVhsv(215, 69%, 58%)
CMYKcmyk(68.9%, 39.9%, 0%, 42%)
CIE-LABlab(37.59, 5.36, -36.84)
CIE-LCHlch(37.59, 37.23, 278.28°)
OKLaboklab(46.34% -0.0245 -0.1049)
OKLCHoklch(46.34% 0.108 256.8)
XYZxyz(10.0425, 9.8627, 29.3857)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5994 #94692E
analogous
#2E8C94 #2E5994 #362E94
triadic
#2E5994 #942E59 #59942E
tetradic
#2E5994 #942E8C #94692E #2E9436
square
#2E5994 #942E8C #94692E #2E9436
split-complementary
#2E5994 #94362E #8C942E
monochromatic
#112137 #1F3D65 #2E5994 #3D75C3 #6B96D1

Accessibility & contrast

On white

7.06
#2E5994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E5994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5994
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5994#FFFFFF#000000##FFFFFF
##2E59941.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E96
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5994;
/* rgb */ color: rgb(46, 89, 148);
/* oklch */ color: oklch(46.3% 0.108 256.8);
Tailwind
colors: {
  custom: {
    50: '#7387b4',
    500: '#2e5994',
    950: '#000000',
  },
}
SCSS
$custom: #2e5994;
$custom-light: #7387b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5994",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 148
  },
  "hsl": {
    "h": 214.706,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.10772,
    "h": 256.8
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#2E5994
secondary
#B89566
accent
#9F4CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E5994

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

Preview Lab → · Contrast checker → · Palette generator →

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