#2D32B7#2D32B7

#2D32B7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.5% C 0.203 H 271.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2D32B7
RGBrgb(45, 50, 183)
HSLhsl(238, 61%, 45%)
HSVhsv(238, 75%, 72%)
CMYKcmyk(75.4%, 72.7%, 0%, 28.2%)
CIE-LABlab(30.05, 43.43, -70.05)
CIE-LCHlch(30.05, 82.42, 301.80°)
OKLaboklab(41.52% 0.0063 -0.2028)
OKLCHoklch(41.52% 0.203 271.8)
XYZxyz(10.7671, 6.2568, 45.4308)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B7 #B7B22D
analogous
#2D77B7 #2D32B7 #6D2DB7
triadic
#2D32B7 #B72D32 #32B72D
tetradic
#2D32B7 #B72D77 #B7B22D #2DB76D
square
#2D32B7 #B72D77 #B7B22D #2DB76D
split-complementary
#2D32B7 #B76D2D #77B72D
monochromatic
#151755 #212586 #2D32B7 #4E53D3 #7F82DF

Accessibility & contrast

On white

9.33
#2D32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B7
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B7#FFFFFF#000000##FFFFFF
##2D32B71.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d32b7;
/* rgb */ color: rgb(45, 50, 183);
/* oklch */ color: oklch(41.5% 0.203 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c6bce',
    500: '#2d32b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b7;
$custom-light: #7c6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b7",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 237.826,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41521,
    "c": 0.20286,
    "h": 271.8
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#2D32B7
secondary
#C8C578
accent
#DE44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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