#2E5078#2E5078

#2E5078 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.078 H 253.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2E5078
RGBrgb(46, 80, 120)
HSLhsl(212, 45%, 33%)
HSVhsv(212, 62%, 47%)
CMYKcmyk(61.7%, 33.3%, 0%, 52.9%)
CIE-LABlab(33.29, 0.88, -26.49)
CIE-LCHlch(33.29, 26.51, 271.90°)
OKLaboklab(42.48% -0.0221 -0.0748)
OKLCHoklch(42.48% 0.078 253.5)
XYZxyz(7.3843, 7.6736, 18.8577)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5078 #78562E
analogous
#2E7578 #2E5078 #312E78
triadic
#2E5078 #782E50 #50782E
tetradic
#2E5078 #782E75 #78562E #2E7831
square
#2E5078 #782E75 #78562E #2E7831
split-complementary
#2E5078 #78312E #75782E
monochromatic
#0C1520 #1D334C #2E5078 #3F6DA4 #5F8CC2

Accessibility & contrast

On white

8.28
#2E5078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E5078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5078
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5078#FFFFFF#000000##FFFFFF
##2E50781.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5078;
/* rgb */ color: rgb(46, 80, 120);
/* oklch */ color: oklch(42.5% 0.078 253.5);
Tailwind
colors: {
  custom: {
    50: '#6e809f',
    500: '#2e5078',
    950: '#000000',
  },
}
SCSS
$custom: #2e5078;
$custom-light: #6e809f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5078",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 212.432,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42479,
    "c": 0.07797,
    "h": 253.5
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#2E5078
secondary
#A8845A
accent
#9954D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E5078

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

Preview Lab → · Contrast checker → · Palette generator →

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