#2E32AC#2E32AC

#2E32AC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.189 H 272.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2E32AC
RGBrgb(46, 50, 172)
HSLhsl(238, 58%, 43%)
HSVhsv(238, 73%, 67%)
CMYKcmyk(73.3%, 70.9%, 0%, 32.5%)
CIE-LABlab(29.00, 39.76, -65.21)
CIE-LCHlch(29.00, 76.38, 301.37°)
OKLaboklab(40.46% 0.009 -0.1886)
OKLCHoklch(40.46% 0.189 272.7)
XYZxyz(9.7112, 5.8396, 39.6371)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32AC #ACA82E
analogous
#2E71AC #2E32AC #692EAC
triadic
#2E32AC #AC2E32 #32AC2E
tetradic
#2E32AC #AC2E71 #ACA82E #2EAC69
square
#2E32AC #AC2E71 #ACA82E #2EAC69
split-complementary
#2E32AC #AC692E #71AC2E
monochromatic
#14164B #21247C #2E32AC #494DCE #797CDB

Accessibility & contrast

On white

9.69
#2E32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32AC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32AC#FFFFFF#000000##FFFFFF
##2E32AC1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e32ac;
/* rgb */ color: rgb(46, 50, 172);
/* oklch */ color: oklch(40.5% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a6bc6',
    500: '#2e32ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e32ac;
$custom-light: #7a6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32ac",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 238.095,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.18884,
    "h": 272.7
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#2E32AC
secondary
#C3C172
accent
#DC47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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