#2E32A1#2E32A1

#2E32A1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.175 H 273.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2E32A1
RGBrgb(46, 50, 161)
HSLhsl(238, 56%, 41%)
HSVhsv(238, 71%, 63%)
CMYKcmyk(71.4%, 68.9%, 0%, 36.9%)
CIE-LABlab(27.94, 35.93, -60.33)
CIE-LCHlch(27.94, 70.22, 300.78°)
OKLaboklab(39.36% 0.0104 -0.1744)
OKLCHoklch(39.36% 0.175 273.4)
XYZxyz(8.6982, 5.4344, 34.3018)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32A1 #A19D2E
analogous
#2E6BA1 #2E32A1 #632EA1
triadic
#2E32A1 #A12E32 #32A12E
tetradic
#2E32A1 #A12E6B #A19D2E #2EA163
square
#2E32A1 #A12E6B #A19D2E #2EA163
split-complementary
#2E32A1 #A1632E #6BA12E
monochromatic
#131442 #202371 #2E32A1 #4348C9 #7376D7

Accessibility & contrast

On white

10.06
#2E32A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E32A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32A1
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32A1#FFFFFF#000000##FFFFFF
##2E32A11.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e32a1;
/* rgb */ color: rgb(46, 50, 161);
/* oklch */ color: oklch(39.4% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#786abe',
    500: '#2e32a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e32a1;
$custom-light: #786abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32a1",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 237.913,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.17469,
    "h": 273.4
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#2E32A1
secondary
#BEBC6C
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E32A1

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

Preview Lab → · Contrast checker → · Palette generator →

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