#2E3571#2E3571

#2E3571 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.103 H 275.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2E3571
RGBrgb(46, 53, 113)
HSLhsl(234, 42%, 31%)
HSVhsv(234, 59%, 44%)
CMYKcmyk(59.3%, 53.1%, 0%, 55.7%)
CIE-LABlab(24.70, 16.55, -35.74)
CIE-LCHlch(24.70, 39.39, 294.84°)
OKLaboklab(35.72% 0.0089 -0.1021)
OKLCHoklch(35.72% 0.103 275)
XYZxyz(5.3795, 4.3189, 16.1697)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3571 #716A2E
analogous
#2E5671 #2E3571 #482E71
triadic
#2E3571 #712E35 #35712E
tetradic
#2E3571 #712E56 #716A2E #2E7148
square
#2E3571 #712E56 #716A2E #2E7148
split-complementary
#2E3571 #71482E #56712E
monochromatic
#0B0C1A #1C2146 #2E3571 #40499C #5D67BD

Accessibility & contrast

On white

11.27
#2E3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3571
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3571#FFFFFF#000000##FFFFFF
##2E35711.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#0A3870
Tritanopia (blue-blind)
#07434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3571;
/* rgb */ color: rgb(46, 53, 113);
/* oklch */ color: oklch(35.7% 0.103 275.0);
Tailwind
colors: {
  custom: {
    50: '#6d6c9a',
    500: '#2e3571',
    950: '#000000',
  },
}
SCSS
$custom: #2e3571;
$custom-light: #6d6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3571",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 233.731,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35722,
    "c": 0.10253,
    "h": 275
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#2E3571
secondary
#A29B58
accent
#C556D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E3571

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

Preview Lab → · Contrast checker → · Palette generator →

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