#2E4C71#2E4C71

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

Color values

HEX#2E4C71
RGBrgb(46, 76, 113)
HSLhsl(213, 42%, 31%)
HSVhsv(213, 59%, 44%)
CMYKcmyk(59.3%, 32.7%, 0%, 55.7%)
CIE-LABlab(31.67, 0.96, -24.66)
CIE-LCHlch(31.67, 24.68, 272.23°)
OKLaboklab(41.09% -0.0194 -0.0695)
OKLCHoklch(41.09% 0.072 254.4)
XYZxyz(6.6907, 6.9414, 16.6068)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C71 #71532E
analogous
#2E6D71 #2E4C71 #312E71
triadic
#2E4C71 #712E4C #4C712E
tetradic
#2E4C71 #712E6D #71532E #2E7131
square
#2E4C71 #712E6D #71532E #2E7131
split-complementary
#2E4C71 #71312E #6D712E
monochromatic
#0B111A #1C2F46 #2E4C71 #40699C #5D88BD

Accessibility & contrast

On white

8.79
#2E4C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E4C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C71
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C71#FFFFFF#000000##FFFFFF
##2E4C711.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#344870
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4c71;
/* rgb */ color: rgb(46, 76, 113);
/* oklch */ color: oklch(41.1% 0.072 254.4);
Tailwind
colors: {
  custom: {
    50: '#6c7d9a',
    500: '#2e4c71',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c71;
$custom-light: #6c7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c71",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 213.134,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.07214,
    "h": 254.4
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4C71

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

Preview Lab → · Contrast checker → · Palette generator →

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