#2E327D#2E327D

#2E327D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.125 H 275.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2E327D
RGBrgb(46, 50, 125)
HSLhsl(237, 46%, 34%)
HSVhsv(237, 63%, 49%)
CMYKcmyk(63.2%, 60%, 0%, 51%)
CIE-LABlab(24.77, 22.99, -43.24)
CIE-LCHlch(24.77, 48.97, 297.99°)
OKLaboklab(36.07% 0.0128 -0.1243)
OKLCHoklch(36.07% 0.125 275.9)
XYZxyz(5.9678, 4.3422, 19.9217)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E327D #7D792E
analogous
#2E597D #2E327D #512E7D
triadic
#2E327D #7D2E32 #327D2E
tetradic
#2E327D #7D2E59 #7D792E #2E7D51
square
#2E327D #7D2E59 #7D792E #2E7D51
split-complementary
#2E327D #7D512E #597D2E
monochromatic
#0D0E24 #1E2050 #2E327D #3E44AA #6166C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E327D#FFFFFF#000000##FFFFFF
##2E327D1.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)
#003E80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e327d;
/* rgb */ color: rgb(46, 50, 125);
/* oklch */ color: oklch(36.1% 0.125 275.9);
Tailwind
colors: {
  custom: {
    50: '#7069a3',
    500: '#2e327d',
    950: '#000000',
  },
}
SCSS
$custom: #2e327d;
$custom-light: #7069a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e327d",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 236.962,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.12491,
    "h": 275.9
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#2E327D
secondary
#ABA75B
accent
#CF52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E327D

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

Preview Lab → · Contrast checker → · Palette generator →

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