#2E3471#2E3471

#2E3471 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.104 H 275.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2E3471
RGBrgb(46, 52, 113)
HSLhsl(235, 42%, 31%)
HSVhsv(235, 59%, 44%)
CMYKcmyk(59.3%, 54%, 0%, 55.7%)
CIE-LABlab(24.41, 17.24, -36.20)
CIE-LCHlch(24.41, 40.09, 295.46°)
OKLaboklab(35.51% 0.01 -0.1035)
OKLCHoklch(35.51% 0.104 275.5)
XYZxyz(5.3344, 4.2287, 16.1547)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3471 #716B2E
analogous
#2E5571 #2E3471 #492E71
triadic
#2E3471 #712E34 #34712E
tetradic
#2E3471 #712E55 #716B2E #2E7149
square
#2E3471 #712E55 #716B2E #2E7149
split-complementary
#2E3471 #71492E #55712E
monochromatic
#0B0C1A #1C2046 #2E3471 #40489C #5D65BD

Accessibility & contrast

On white

11.38
#2E3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E3471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3471
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3471#FFFFFF#000000##FFFFFF
##2E34711.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#07424D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3471;
/* rgb */ color: rgb(46, 52, 113);
/* oklch */ color: oklch(35.5% 0.104 275.5);
Tailwind
colors: {
  custom: {
    50: '#6d6b9a',
    500: '#2e3471',
    950: '#000000',
  },
}
SCSS
$custom: #2e3471;
$custom-light: #6d6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3471",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 234.627,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35507,
    "c": 0.104,
    "h": 275.5
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#2E3471
secondary
#A29C58
accent
#C756D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E3471

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

Preview Lab → · Contrast checker → · Palette generator →

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