#2D32B3#2D32B3

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

Color values

HEX#2D32B3
RGBrgb(45, 50, 179)
HSLhsl(238, 60%, 44%)
HSVhsv(238, 75%, 70%)
CMYKcmyk(74.9%, 72.1%, 0%, 29.8%)
CIE-LABlab(29.65, 42.07, -68.34)
CIE-LCHlch(29.65, 80.25, 301.62°)
OKLaboklab(41.11% 0.0069 -0.1978)
OKLCHoklch(41.11% 0.198 272)
XYZxyz(10.3567, 6.0927, 43.2693)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D32B3 #B3AE2D
analogous
#2D75B3 #2D32B3 #6B2DB3
triadic
#2D32B3 #B32D32 #32B32D
tetradic
#2D32B3 #B32D75 #B3AE2D #2DB36B
square
#2D32B3 #B32D75 #B3AE2D #2DB36B
split-complementary
#2D32B3 #B36B2D #75B32D
monochromatic
#141751 #212482 #2D32B3 #4B50D2 #7C80DE

Accessibility & contrast

On white

9.46
#2D32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D32B3
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D32B3#FFFFFF#000000##FFFFFF
##2D32B31.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d32b3;
/* rgb */ color: rgb(45, 50, 179);
/* oklch */ color: oklch(41.1% 0.198 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b6bcb',
    500: '#2d32b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d32b3;
$custom-light: #7b6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d32b3",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 237.761,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.1979,
    "h": 272
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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