#2E5A79#2E5A79

#2E5A79 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.0% C 0.071 H 241.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2E5A79
RGBrgb(46, 90, 121)
HSLhsl(205, 45%, 33%)
HSVhsv(205, 62%, 47%)
CMYKcmyk(62%, 25.6%, 0%, 52.5%)
CIE-LABlab(36.50, -5.08, -22.10)
CIE-LCHlch(36.50, 22.67, 257.04°)
OKLaboklab(45.02% -0.0338 -0.062)
OKLCHoklch(45.02% 0.071 241.4)
XYZxyz(8.2328, 9.2729, 19.4414)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A79 #794D2E
analogous
#2E7972 #2E5A79 #2E3479
triadic
#2E5A79 #792E5A #5A792E
tetradic
#2E5A79 #722E79 #794D2E #34792E
square
#2E5A79 #722E79 #794D2E #34792E
split-complementary
#2E5A79 #792E34 #79722E
monochromatic
#0C1820 #1D394D #2E5A79 #3F7BA5 #5F99C2

Accessibility & contrast

On white

7.36
#2E5A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E5A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A79
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A79#FFFFFF#000000##FFFFFF
##2E5A791.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#425378
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e5a79;
/* rgb */ color: rgb(46, 90, 121);
/* oklch */ color: oklch(45.0% 0.071 241.4);
Tailwind
colors: {
  custom: {
    50: '#6e88a0',
    500: '#2e5a79',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a79;
$custom-light: #6e88a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a79",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 204.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.07059,
    "h": 241.4
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#2E5A79
secondary
#A97B5A
accent
#8953D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2E5A79

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

Preview Lab → · Contrast checker → · Palette generator →

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