#2D32B5#2D32B5

#2D32B5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.3% C 0.200 H 271.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2D32B5
RGBrgb(45, 50, 181)
HSLhsl(238, 60%, 44%)
HSVhsv(238, 75%, 71%)
CMYKcmyk(75.1%, 72.4%, 0%, 29%)
CIE-LABlab(29.85, 42.75, -69.20)
CIE-LCHlch(29.85, 81.34, 301.71°)
OKLaboklab(41.32% 0.0066 -0.2003)
OKLCHoklch(41.32% 0.2 271.9)
XYZxyz(10.5605, 6.1742, 44.3423)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B5 #B5B02D
analogous
#2D76B5 #2D32B5 #6C2DB5
triadic
#2D32B5 #B52D32 #32B52D
tetradic
#2D32B5 #B52D76 #B5B02D #2DB56C
square
#2D32B5 #B52D76 #B5B02D #2DB56C
split-complementary
#2D32B5 #B56C2D #76B52D
monochromatic
#151753 #212484 #2D32B5 #4D51D3 #7E81DF

Accessibility & contrast

On white

9.40
#2D32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D32B5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B5#FFFFFF#000000##FFFFFF
##2D32B51.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d32b5;
/* rgb */ color: rgb(45, 50, 181);
/* oklch */ color: oklch(41.3% 0.200 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c6bcc',
    500: '#2d32b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b5;
$custom-light: #7c6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b5",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 237.794,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.20039,
    "h": 271.9
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#2D32B5
secondary
#C7C476
accent
#DD44E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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