#2E5478#2E5478

#2E5478 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.074 H 248.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2E5478
RGBrgb(46, 84, 120)
HSLhsl(209, 45%, 33%)
HSVhsv(209, 62%, 47%)
CMYKcmyk(61.7%, 30%, 0%, 52.9%)
CIE-LABlab(34.55, -1.68, -24.52)
CIE-LCHlch(34.55, 24.58, 266.07°)
OKLaboklab(43.47% -0.0269 -0.069)
OKLCHoklch(43.47% 0.074 248.7)
XYZxyz(7.6860, 8.2769, 18.9582)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5478 #78522E
analogous
#2E7877 #2E5478 #2E2F78
triadic
#2E5478 #782E54 #54782E
tetradic
#2E5478 #772E78 #78522E #2F782E
square
#2E5478 #772E78 #78522E #2F782E
split-complementary
#2E5478 #782E2F #78772E
monochromatic
#0C1620 #1D354C #2E5478 #3F73A4 #5F92C2

Accessibility & contrast

On white

7.91
#2E5478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E5478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5478
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5478#FFFFFF#000000##FFFFFF
##2E54781.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45557A
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5478;
/* rgb */ color: rgb(46, 84, 120);
/* oklch */ color: oklch(43.5% 0.074 248.7);
Tailwind
colors: {
  custom: {
    50: '#6e839f',
    500: '#2e5478',
    950: '#000000',
  },
}
SCSS
$custom: #2e5478;
$custom-light: #6e839f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5478",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 209.189,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.07408,
    "h": 248.7
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#2E5478
secondary
#A8805A
accent
#9254D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E5478

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

Preview Lab → · Contrast checker → · Palette generator →

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