#2D32B6#2D32B6

#2D32B6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.202 H 271.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D32B6
RGBrgb(45, 50, 182)
HSLhsl(238, 60%, 45%)
HSVhsv(238, 75%, 71%)
CMYKcmyk(75.3%, 72.5%, 0%, 28.6%)
CIE-LABlab(29.95, 43.09, -69.62)
CIE-LCHlch(29.95, 81.88, 301.75°)
OKLaboklab(41.42% 0.0064 -0.2015)
OKLCHoklch(41.42% 0.202 271.8)
XYZxyz(10.6634, 6.2154, 44.8846)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B6 #B6B12D
analogous
#2D77B6 #2D32B6 #6D2DB6
triadic
#2D32B6 #B62D32 #32B62D
tetradic
#2D32B6 #B62D77 #B6B12D #2DB66D
square
#2D32B6 #B62D77 #B6B12D #2DB66D
split-complementary
#2D32B6 #B66D2D #77B62D
monochromatic
#151754 #212585 #2D32B6 #4D52D3 #7E82DF

Accessibility & contrast

On white

9.36
#2D32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B6
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B6#FFFFFF#000000##FFFFFF
##2D32B61.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d32b6;
/* rgb */ color: rgb(45, 50, 182);
/* oklch */ color: oklch(41.4% 0.202 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c6bcd',
    500: '#2d32b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b6;
$custom-light: #7c6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b6",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 237.81,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41418,
    "c": 0.20162,
    "h": 271.8
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#2D32B6
secondary
#C8C577
accent
#DE44E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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