#2E3572#2E3572

#2E3572 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.104 H 274.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2E3572
RGBrgb(46, 53, 114)
HSLhsl(234, 43%, 31%)
HSVhsv(234, 60%, 45%)
CMYKcmyk(59.6%, 53.5%, 0%, 55.3%)
CIE-LABlab(24.77, 16.91, -36.27)
CIE-LCHlch(24.77, 40.01, 295.00°)
OKLaboklab(35.8% 0.009 -0.1037)
OKLCHoklch(35.8% 0.104 274.9)
XYZxyz(5.4361, 4.3416, 16.4679)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3572 #726B2E
analogous
#2E5772 #2E3572 #492E72
triadic
#2E3572 #722E35 #35722E
tetradic
#2E3572 #722E57 #726B2E #2E7249
square
#2E3572 #722E57 #726B2E #2E7249
split-complementary
#2E3572 #72492E #57722E
monochromatic
#0B0C1B #1C2146 #2E3572 #40499E #5D67BE

Accessibility & contrast

On white

11.24
#2E3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E3572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3572
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3572#FFFFFF#000000##FFFFFF
##2E35721.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#083871
Tritanopia (blue-blind)
#05434E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3572;
/* rgb */ color: rgb(46, 53, 114);
/* oklch */ color: oklch(35.8% 0.104 274.9);
Tailwind
colors: {
  custom: {
    50: '#6d6c9b',
    500: '#2e3572',
    950: '#000000',
  },
}
SCSS
$custom: #2e3572;
$custom-light: #6d6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3572",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 233.824,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35799,
    "c": 0.10409,
    "h": 274.9
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3572

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

Preview Lab → · Contrast checker → · Palette generator →

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