#2E5E71#2E5E71

#2E5E71 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.7% C 0.060 H 226.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2E5E71
RGBrgb(46, 94, 113)
HSLhsl(197, 42%, 31%)
HSVhsv(197, 59%, 44%)
CMYKcmyk(59.3%, 16.8%, 0%, 55.7%)
CIE-LABlab(37.44, -10.24, -15.72)
CIE-LCHlch(37.44, 18.76, 236.94°)
OKLaboklab(45.65% -0.0418 -0.0437)
OKLCHoklch(45.65% 0.06 226.3)
XYZxyz(8.1089, 9.7778, 17.0795)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E71 #71412E
analogous
#2E7162 #2E5E71 #2E3C71
triadic
#2E5E71 #712E5E #5E712E
tetradic
#2E5E71 #622E71 #71412E #3C712E
square
#2E5E71 #622E71 #71412E #3C712E
split-complementary
#2E5E71 #712E3C #71622E
monochromatic
#0B161A #1C3A46 #2E5E71 #40829C #5DA2BD

Accessibility & contrast

On white

7.10
#2E5E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2E5E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E71
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E71#FFFFFF#000000##FFFFFF
##2E5E711.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#006464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e5e71;
/* rgb */ color: rgb(46, 94, 113);
/* oklch */ color: oklch(45.7% 0.060 226.3);
Tailwind
colors: {
  custom: {
    50: '#6d8b99',
    500: '#2e5e71',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e71;
$custom-light: #6d8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e71",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 113
  },
  "hsl": {
    "h": 197.015,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45651,
    "c": 0.06049,
    "h": 226.3
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#2E5E71
secondary
#A26D58
accent
#7956D2
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2E5E71

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

Preview Lab → · Contrast checker → · Palette generator →

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