#2E5172#2E5172

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

Color values

HEX#2E5172
RGBrgb(46, 81, 114)
HSLhsl(209, 43%, 31%)
HSVhsv(209, 60%, 45%)
CMYKcmyk(59.6%, 28.9%, 0%, 55.3%)
CIE-LABlab(33.31, -1.90, -22.73)
CIE-LCHlch(33.31, 22.81, 265.22°)
OKLaboklab(42.39% -0.0253 -0.0639)
OKLCHoklch(42.39% 0.069 248.4)
XYZxyz(7.1053, 7.6800, 17.0243)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5172 #724F2E
analogous
#2E7271 #2E5172 #2E2F72
triadic
#2E5172 #722E51 #51722E
tetradic
#2E5172 #712E72 #724F2E #2F722E
square
#2E5172 #712E72 #724F2E #2F722E
split-complementary
#2E5172 #722E2F #72712E
monochromatic
#0B131B #1C3246 #2E5172 #40709E #5D8FBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5172#FFFFFF#000000##FFFFFF
##2E51721.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5172;
/* rgb */ color: rgb(46, 81, 114);
/* oklch */ color: oklch(42.4% 0.069 248.4);
Tailwind
colors: {
  custom: {
    50: '#6d819a',
    500: '#2e5172',
    950: '#000000',
  },
}
SCSS
$custom: #2e5172;
$custom-light: #6d819a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5172",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 209.118,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.06869,
    "h": 248.4
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#2E5172
secondary
#A37D58
accent
#9256D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E5172

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

Preview Lab → · Contrast checker → · Palette generator →

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