#2E4E70#2E4E70

#2E4E70 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.069 H 251.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2E4E70
RGBrgb(46, 78, 112)
HSLhsl(211, 42%, 31%)
HSVhsv(211, 59%, 44%)
CMYKcmyk(58.9%, 30.4%, 0%, 56.1%)
CIE-LABlab(32.26, -0.69, -23.12)
CIE-LCHlch(32.26, 23.13, 268.30°)
OKLaboklab(41.53% -0.0222 -0.065)
OKLCHoklch(41.53% 0.069 251.1)
XYZxyz(6.7747, 7.1989, 16.3586)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E70 #70502E
analogous
#2E6F70 #2E4E70 #2F2E70
triadic
#2E4E70 #702E4E #4E702E
tetradic
#2E4E70 #702E6F #70502E #2E702F
square
#2E4E70 #702E6F #70502E #2E702F
split-complementary
#2E4E70 #702F2E #6F702E
monochromatic
#0A1219 #1C3045 #2E4E70 #406C9B #5C8BBC

Accessibility & contrast

On white

8.61
#2E4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E4E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E70
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E70#FFFFFF#000000##FFFFFF
##2E4E701.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#37496F
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4e70;
/* rgb */ color: rgb(46, 78, 112);
/* oklch */ color: oklch(41.5% 0.069 251.1);
Tailwind
colors: {
  custom: {
    50: '#6c7f99',
    500: '#2e4e70',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e70;
$custom-light: #6c7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e70",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 210.909,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.0687,
    "h": 251.1
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#2E4E70
secondary
#A17E58
accent
#9656D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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