#2E32AA#2E32AA

#2E32AA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.186 H 272.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2E32AA
RGBrgb(46, 50, 170)
HSLhsl(238, 57%, 42%)
HSVhsv(238, 73%, 67%)
CMYKcmyk(72.9%, 70.6%, 0%, 33.3%)
CIE-LABlab(28.81, 39.07, -64.33)
CIE-LCHlch(28.81, 75.27, 301.27°)
OKLaboklab(40.25% 0.0093 -0.1861)
OKLCHoklch(40.25% 0.186 272.8)
XYZxyz(9.5206, 5.7634, 38.6331)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32AA #AAA62E
analogous
#2E70AA #2E32AA #682EAA
triadic
#2E32AA #AA2E32 #32AA2E
tetradic
#2E32AA #AA2E70 #AAA62E #2EAA68
square
#2E32AA #AA2E70 #AAA62E #2EAA68
split-complementary
#2E32AA #AA682E #70AA2E
monochromatic
#14164A #21247A #2E32AA #484CCD #787BDA

Accessibility & contrast

On white

9.75
#2E32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E32AA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32AA#FFFFFF#000000##FFFFFF
##2E32AA1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e32aa;
/* rgb */ color: rgb(46, 50, 170);
/* oklch */ color: oklch(40.3% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#7a6bc4',
    500: '#2e32aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e32aa;
$custom-light: #7a6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32aa",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 238.065,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.1863,
    "h": 272.8
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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