#2E32A5#2E32A5

#2E32A5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.180 H 273.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2E32A5
RGBrgb(46, 50, 165)
HSLhsl(238, 56%, 41%)
HSVhsv(238, 72%, 65%)
CMYKcmyk(72.1%, 69.7%, 0%, 35.3%)
CIE-LABlab(28.32, 37.33, -62.12)
CIE-LCHlch(28.32, 72.48, 301.00°)
OKLaboklab(39.76% 0.0099 -0.1796)
OKLCHoklch(39.76% 0.18 273.2)
XYZxyz(9.0566, 5.5778, 36.1893)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32A5 #A5A12E
analogous
#2E6EA5 #2E32A5 #662EA5
triadic
#2E32A5 #A52E32 #32A52E
tetradic
#2E32A5 #A52E6E #A5A12E #2EA566
square
#2E32A5 #A52E6E #A5A12E #2EA566
split-complementary
#2E32A5 #A5662E #6EA52E
monochromatic
#131545 #212375 #2E32A5 #454ACB #7578D8

Accessibility & contrast

On white

9.93
#2E32A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E32A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32A5
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32A5#FFFFFF#000000##FFFFFF
##2E32A51.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e32a5;
/* rgb */ color: rgb(46, 50, 165);
/* oklch */ color: oklch(39.8% 0.180 273.2);
Tailwind
colors: {
  custom: {
    50: '#796ac1',
    500: '#2e32a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e32a5;
$custom-light: #796ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32a5",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 237.983,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39756,
    "c": 0.17988,
    "h": 273.2
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#2E32A5
secondary
#C0BE6F
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E32A5

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

Preview Lab → · Contrast checker → · Palette generator →

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