#2E3E72#2E3E72

#2E3E72 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.091 H 268.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2E3E72
RGBrgb(46, 62, 114)
HSLhsl(226, 43%, 31%)
HSVhsv(226, 60%, 45%)
CMYKcmyk(59.6%, 45.6%, 0%, 55.3%)
CIE-LABlab(27.41, 10.70, -32.04)
CIE-LCHlch(27.41, 33.78, 288.47°)
OKLaboklab(37.81% -0.0018 -0.0912)
OKLCHoklch(37.81% 0.091 268.9)
XYZxyz(5.8856, 5.2405, 16.6177)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3E72 #72622E
analogous
#2E6072 #2E3E72 #402E72
triadic
#2E3E72 #722E3E #3E722E
tetradic
#2E3E72 #722E60 #72622E #2E7240
square
#2E3E72 #722E60 #72622E #2E7240
split-complementary
#2E3E72 #72402E #60722E
monochromatic
#0B0F1B #1C2646 #2E3E72 #40569E #5D74BE

Accessibility & contrast

On white

10.25
#2E3E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E3E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3E72
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3E72#FFFFFF#000000##FFFFFF
##2E3E721.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#024952
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3e72;
/* rgb */ color: rgb(46, 62, 114);
/* oklch */ color: oklch(37.8% 0.091 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d739b',
    500: '#2e3e72',
    950: '#000000',
  },
}
SCSS
$custom: #2e3e72;
$custom-light: #6d739b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3e72",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 225.882,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37805,
    "c": 0.09119,
    "h": 268.9
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#2E3E72
secondary
#A39258
accent
#B556D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2E3E72

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

Preview Lab → · Contrast checker → · Palette generator →

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