#2E32AE#2E32AE

#2E32AE is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.191 H 272.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2E32AE
RGBrgb(46, 50, 174)
HSLhsl(238, 58%, 43%)
HSVhsv(238, 74%, 68%)
CMYKcmyk(73.6%, 71.3%, 0%, 31.8%)
CIE-LABlab(29.20, 40.45, -66.08)
CIE-LCHlch(29.20, 77.48, 301.47°)
OKLaboklab(40.66% 0.0087 -0.1912)
OKLCHoklch(40.66% 0.191 272.6)
XYZxyz(9.9047, 5.9170, 40.6563)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32AE #AEAA2E
analogous
#2E72AE #2E32AE #6A2EAE
triadic
#2E32AE #AE2E32 #32AE2E
tetradic
#2E32AE #AE2E72 #AEAA2E #2EAE6A
square
#2E32AE #AE2E72 #AEAA2E #2EAE6A
split-complementary
#2E32AE #AE6A2E #72AE2E
monochromatic
#14164D #21247E #2E32AE #4A4ECF #7A7DDC

Accessibility & contrast

On white

9.62
#2E32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32AE
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32AE#FFFFFF#000000##FFFFFF
##2E32AE1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e32ae;
/* rgb */ color: rgb(46, 50, 174);
/* oklch */ color: oklch(40.7% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b6bc7',
    500: '#2e32ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e32ae;
$custom-light: #7b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32ae",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 238.125,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.19138,
    "h": 272.6
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#2E32AE
secondary
#C4C274
accent
#DD46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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