#2E4D78#2E4D78

#2E4D78 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.081 H 256.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2E4D78
RGBrgb(46, 77, 120)
HSLhsl(215, 45%, 33%)
HSVhsv(215, 62%, 47%)
CMYKcmyk(61.7%, 35.8%, 0%, 52.9%)
CIE-LABlab(32.36, 2.83, -27.97)
CIE-LCHlch(32.36, 28.11, 275.78°)
OKLaboklab(41.75% -0.0185 -0.0791)
OKLCHoklch(41.75% 0.081 256.8)
XYZxyz(7.1696, 7.2440, 18.7861)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D78 #78592E
analogous
#2E7278 #2E4D78 #342E78
triadic
#2E4D78 #782E4D #4D782E
tetradic
#2E4D78 #782E72 #78592E #2E7834
square
#2E4D78 #782E72 #78592E #2E7834
split-complementary
#2E4D78 #78342E #72782E
monochromatic
#0C1420 #1D314C #2E4D78 #3F69A4 #5F88C2

Accessibility & contrast

On white

8.57
#2E4D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E4D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D78
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D78#FFFFFF#000000##FFFFFF
##2E4D781.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4d78;
/* rgb */ color: rgb(46, 77, 120);
/* oklch */ color: oklch(41.7% 0.081 256.8);
Tailwind
colors: {
  custom: {
    50: '#6e7e9f',
    500: '#2e4d78',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d78;
$custom-light: #6e7e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d78",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 214.865,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.08123,
    "h": 256.8
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#2E4D78
secondary
#A8875A
accent
#9E54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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