#2D32B1#2D32B1

#2D32B1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.195 H 272.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2D32B1
RGBrgb(45, 50, 177)
HSLhsl(238, 59%, 44%)
HSVhsv(238, 75%, 69%)
CMYKcmyk(74.6%, 71.8%, 0%, 30.6%)
CIE-LABlab(29.44, 41.38, -67.48)
CIE-LCHlch(29.44, 79.16, 301.52°)
OKLaboklab(40.9% 0.0071 -0.1953)
OKLCHoklch(40.9% 0.195 272.1)
XYZxyz(10.1559, 6.0124, 42.2117)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B1 #B1AC2D
analogous
#2D74B1 #2D32B1 #6A2DB1
triadic
#2D32B1 #B12D32 #32B12D
tetradic
#2D32B1 #B12D74 #B1AC2D #2DB16A
square
#2D32B1 #B12D74 #B1AC2D #2DB16A
split-complementary
#2D32B1 #B16A2D #74B12D
monochromatic
#14164F #212480 #2D32B1 #4A4FD1 #7B7FDD

Accessibility & contrast

On white

9.53
#2D32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B1
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B1#FFFFFF#000000##FFFFFF
##2D32B11.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d32b1;
/* rgb */ color: rgb(45, 50, 177);
/* oklch */ color: oklch(40.9% 0.195 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b6bca',
    500: '#2d32b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b1;
$custom-light: #7b6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b1",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 237.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.1954,
    "h": 272.1
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#2D32B1
secondary
#C6C374
accent
#DD45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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