#2E4C70#2E4C70

#2E4C70 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.071 H 253.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2E4C70
RGBrgb(46, 76, 112)
HSLhsl(213, 42%, 31%)
HSVhsv(213, 59%, 44%)
CMYKcmyk(58.9%, 32.1%, 0%, 56.1%)
CIE-LABlab(31.62, 0.61, -24.11)
CIE-LCHlch(31.62, 24.12, 271.44°)
OKLaboklab(41.03% -0.0197 -0.0679)
OKLCHoklch(41.03% 0.071 253.8)
XYZxyz(6.6348, 6.9190, 16.3120)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C70 #70522E
analogous
#2E6D70 #2E4C70 #312E70
triadic
#2E4C70 #702E4C #4C702E
tetradic
#2E4C70 #702E6D #70522E #2E7031
square
#2E4C70 #702E6D #70522E #2E7031
split-complementary
#2E4C70 #70312E #6D702E
monochromatic
#0A1119 #1C2F45 #2E4C70 #40699B #5C88BC

Accessibility & contrast

On white

8.81
#2E4C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E4C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C70
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C70#FFFFFF#000000##FFFFFF
##2E4C701.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E72
Deuteranopia (green-blind)
#35486F
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4c70;
/* rgb */ color: rgb(46, 76, 112);
/* oklch */ color: oklch(41.0% 0.071 253.8);
Tailwind
colors: {
  custom: {
    50: '#6c7d99',
    500: '#2e4c70',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c70;
$custom-light: #6c7d99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c70",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 112
  },
  "hsl": {
    "h": 212.727,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.0707,
    "h": 253.8
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#2E4C70
secondary
#A18058
accent
#9A56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4C70

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

Preview Lab → · Contrast checker → · Palette generator →

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