#2D32B2#2D32B2

#2D32B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.197 H 272.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2D32B2
RGBrgb(45, 50, 178)
HSLhsl(238, 60%, 44%)
HSVhsv(238, 75%, 70%)
CMYKcmyk(74.7%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.54, 41.73, -67.91)
CIE-LCHlch(29.54, 79.71, 301.57°)
OKLaboklab(41.01% 0.007 -0.1965)
OKLCHoklch(41.01% 0.197 272)
XYZxyz(10.2560, 6.0524, 42.7386)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B2 #B2AD2D
analogous
#2D74B2 #2D32B2 #6A2DB2
triadic
#2D32B2 #B22D32 #32B22D
tetradic
#2D32B2 #B22D74 #B2AD2D #2DB26A
square
#2D32B2 #B22D74 #B2AD2D #2DB26A
split-complementary
#2D32B2 #B26A2D #74B22D
monochromatic
#141750 #212481 #2D32B2 #4B50D1 #7C7FDE

Accessibility & contrast

On white

9.50
#2D32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B2#FFFFFF#000000##FFFFFF
##2D32B21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d32b2;
/* rgb */ color: rgb(45, 50, 178);
/* oklch */ color: oklch(41.0% 0.197 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b6bca',
    500: '#2d32b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b2;
$custom-light: #7b6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b2",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 237.744,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.19665,
    "h": 272
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#2D32B2
secondary
#C6C375
accent
#DD45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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