#2E5079#2E5079

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

Color values

HEX#2E5079
RGBrgb(46, 80, 121)
HSLhsl(213, 45%, 33%)
HSVhsv(213, 62%, 47%)
CMYKcmyk(62%, 33.9%, 0%, 52.5%)
CIE-LABlab(33.35, 1.24, -27.03)
CIE-LCHlch(33.35, 27.06, 272.62°)
OKLaboklab(42.54% -0.0218 -0.0763)
OKLCHoklch(42.54% 0.079 254.1)
XYZxyz(7.4453, 7.6980, 19.1790)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5079 #79572E
analogous
#2E7579 #2E5079 #312E79
triadic
#2E5079 #792E50 #50792E
tetradic
#2E5079 #792E75 #79572E #2E7931
square
#2E5079 #792E75 #79572E #2E7931
split-complementary
#2E5079 #79312E #75792E
monochromatic
#0C1520 #1D334D #2E5079 #3F6DA5 #5F8CC2

Accessibility & contrast

On white

8.27
#2E5079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E5079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5079
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5079#FFFFFF#000000##FFFFFF
##2E50791.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5079;
/* rgb */ color: rgb(46, 80, 121);
/* oklch */ color: oklch(42.5% 0.079 254.1);
Tailwind
colors: {
  custom: {
    50: '#6e80a0',
    500: '#2e5079',
    950: '#000000',
  },
}
SCSS
$custom: #2e5079;
$custom-light: #6e80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5079",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 212.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.07939,
    "h": 254.1
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#2E5079
secondary
#A9855A
accent
#9A53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #2E5079

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

Preview Lab → · Contrast checker → · Palette generator →

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