#2D32B9#2D32B9

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

Color values

HEX#2D32B9
RGBrgb(45, 50, 185)
HSLhsl(238, 61%, 45%)
HSVhsv(238, 76%, 73%)
CMYKcmyk(75.7%, 73%, 0%, 27.5%)
CIE-LABlab(30.26, 44.11, -70.90)
CIE-LCHlch(30.26, 83.50, 301.89°)
OKLaboklab(41.73% 0.0059 -0.2052)
OKLCHoklch(41.73% 0.205 271.7)
XYZxyz(10.9768, 6.3407, 46.5349)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B9 #B9B42D
analogous
#2D78B9 #2D32B9 #6E2DB9
triadic
#2D32B9 #B92D32 #32B92D
tetradic
#2D32B9 #B92D78 #B9B42D #2DB96E
square
#2D32B9 #B92D78 #B9B42D #2DB96E
split-complementary
#2D32B9 #B96E2D #78B92D
monochromatic
#151757 #212588 #2D32B9 #4F54D4 #8084E0

Accessibility & contrast

On white

9.26
#2D32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B9
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B9#FFFFFF#000000##FFFFFF
##2D32B91.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d32b9;
/* rgb */ color: rgb(45, 50, 185);
/* oklch */ color: oklch(41.7% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d6bcf',
    500: '#2d32b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b9;
$custom-light: #7d6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b9",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 237.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.20532,
    "h": 271.7
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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