#2E32BB#2E32BB

#2E32BB is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.207 H 271.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2E32BB
RGBrgb(46, 50, 187)
HSLhsl(238, 61%, 46%)
HSVhsv(238, 75%, 73%)
CMYKcmyk(75.4%, 73.3%, 0%, 26.7%)
CIE-LABlab(30.52, 44.87, -71.65)
CIE-LCHlch(30.52, 84.54, 302.06°)
OKLaboklab(41.99% 0.0067 -0.2074)
OKLCHoklch(41.99% 0.208 271.9)
XYZxyz(11.2339, 6.4487, 47.6567)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E32BB #BBB72E
analogous
#2E78BB #2E32BB #702EBB
triadic
#2E32BB #BB2E32 #32BB2E
tetradic
#2E32BB #BB2E78 #BBB72E #2EBB70
square
#2E32BB #BB2E78 #BBB72E #2EBB70
split-complementary
#2E32BB #BB702E #78BB2E
monochromatic
#161859 #22258A #2E32BB #5256D4 #8386E0

Accessibility & contrast

On white

9.17
#2E32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E32BB
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E32BB#FFFFFF#000000##FFFFFF
##2E32BB1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e32bb;
/* rgb */ color: rgb(46, 50, 187);
/* oklch */ color: oklch(42.0% 0.207 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e6bd1',
    500: '#2e32bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e32bb;
$custom-light: #7e6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e32bb",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 238.298,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41991,
    "c": 0.2075,
    "h": 271.9
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#2E32BB
secondary
#CAC77B
accent
#DF44E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2E32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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