#2D32B8#2D32B8

#2D32B8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.6% C 0.204 H 271.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2D32B8
RGBrgb(45, 50, 184)
HSLhsl(238, 61%, 45%)
HSVhsv(238, 76%, 72%)
CMYKcmyk(75.5%, 72.8%, 0%, 27.8%)
CIE-LABlab(30.15, 43.77, -70.47)
CIE-LCHlch(30.15, 82.96, 301.84°)
OKLaboklab(41.63% 0.0061 -0.204)
OKLCHoklch(41.63% 0.204 271.7)
XYZxyz(10.8716, 6.2986, 45.9809)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B8 #B8B32D
analogous
#2D77B8 #2D32B8 #6E2DB8
triadic
#2D32B8 #B82D32 #32B82D
tetradic
#2D32B8 #B82D77 #B8B32D #2DB86E
square
#2D32B8 #B82D77 #B8B32D #2DB86E
split-complementary
#2D32B8 #B86E2D #77B82D
monochromatic
#151756 #212587 #2D32B8 #4E53D4 #8083E0

Accessibility & contrast

On white

9.29
#2D32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B8
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B8#FFFFFF#000000##FFFFFF
##2D32B81.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d32b8;
/* rgb */ color: rgb(45, 50, 184);
/* oklch */ color: oklch(41.6% 0.204 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d6bcf',
    500: '#2d32b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b8;
$custom-light: #7d6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b8",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 237.842,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41625,
    "c": 0.20408,
    "h": 271.7
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#2D32B8
secondary
#C9C678
accent
#DE44E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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