#2E4E78#2E4E78

#2E4E78 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.080 H 255.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4E78
RGBrgb(46, 78, 120)
HSLhsl(214, 45%, 33%)
HSVhsv(214, 62%, 47%)
CMYKcmyk(61.7%, 35%, 0%, 52.9%)
CIE-LABlab(32.67, 2.18, -27.48)
CIE-LCHlch(32.67, 27.56, 274.53°)
OKLaboklab(41.99% -0.0197 -0.0777)
OKLCHoklch(41.99% 0.08 255.8)
XYZxyz(7.2401, 7.3851, 18.8096)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E78 #78582E
analogous
#2E7378 #2E4E78 #332E78
triadic
#2E4E78 #782E4E #4E782E
tetradic
#2E4E78 #782E73 #78582E #2E7833
square
#2E4E78 #782E73 #78582E #2E7833
split-complementary
#2E4E78 #78332E #73782E
monochromatic
#0C1420 #1D314C #2E4E78 #3F6BA4 #5F8AC2

Accessibility & contrast

On white

8.48
#2E4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E4E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E78
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E78#FFFFFF#000000##FFFFFF
##2E4E781.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517A
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e78;
/* rgb */ color: rgb(46, 78, 120);
/* oklch */ color: oklch(42.0% 0.080 255.8);
Tailwind
colors: {
  custom: {
    50: '#6e7f9f',
    500: '#2e4e78',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e78;
$custom-light: #6e7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e78",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 214.054,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.08012,
    "h": 255.8
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#2E4E78
secondary
#A8865A
accent
#9D54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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