#2E32A9#2E32A9

#2E32A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.185 H 272.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2E32A9
RGBrgb(46, 50, 169)
HSLhsl(238, 57%, 42%)
HSVhsv(238, 73%, 66%)
CMYKcmyk(72.8%, 70.4%, 0%, 33.7%)
CIE-LABlab(28.71, 38.73, -63.89)
CIE-LCHlch(28.71, 74.71, 301.22°)
OKLaboklab(40.15% 0.0094 -0.1848)
OKLCHoklch(40.15% 0.185 272.9)
XYZxyz(9.4263, 5.7257, 38.1368)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32A9 #A9A52E
analogous
#2E6FA9 #2E32A9 #682EA9
triadic
#2E32A9 #A92E32 #32A92E
tetradic
#2E32A9 #A92E6F #A9A52E #2EA968
square
#2E32A9 #A92E6F #A9A52E #2EA968
split-complementary
#2E32A9 #A9682E #6FA92E
monochromatic
#141649 #212479 #2E32A9 #474CCD #777BDA

Accessibility & contrast

On white

9.79
#2E32A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E32A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32A9
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32A9#FFFFFF#000000##FFFFFF
##2E32A91.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e32a9;
/* rgb */ color: rgb(46, 50, 169);
/* oklch */ color: oklch(40.2% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#796bc4',
    500: '#2e32a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e32a9;
$custom-light: #796bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32a9",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 238.049,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40154,
    "c": 0.18503,
    "h": 272.9
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#2E32A9
secondary
#C2BF71
accent
#DB47E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E32A9

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

Preview Lab → · Contrast checker → · Palette generator →

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