#2D32B0#2D32B0

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

Color values

HEX#2D32B0
RGBrgb(45, 50, 176)
HSLhsl(238, 59%, 43%)
HSVhsv(238, 74%, 69%)
CMYKcmyk(74.4%, 71.6%, 0%, 31%)
CIE-LABlab(29.34, 41.04, -67.05)
CIE-LCHlch(29.34, 78.61, 301.47°)
OKLaboklab(40.8% 0.0073 -0.194)
OKLCHoklch(40.8% 0.194 272.1)
XYZxyz(10.0566, 5.9726, 41.6887)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B0 #B0AB2D
analogous
#2D73B0 #2D32B0 #692DB0
triadic
#2D32B0 #B02D32 #32B02D
tetradic
#2D32B0 #B02D73 #B0AB2D #2DB069
square
#2D32B0 #B02D73 #B0AB2D #2DB069
split-complementary
#2D32B0 #B0692D #73B02D
monochromatic
#14164F #21247F #2D32B0 #4A4FD1 #7A7EDD

Accessibility & contrast

On white

9.57
#2D32B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D32B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B0
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B0#FFFFFF#000000##FFFFFF
##2D32B01.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d32b0;
/* rgb */ color: rgb(45, 50, 176);
/* oklch */ color: oklch(40.8% 0.194 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b6bc9',
    500: '#2d32b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b0;
$custom-light: #7b6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b0",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 237.71,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.19415,
    "h": 272.1
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#2D32B0
secondary
#C5C273
accent
#DC45E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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