#2B32B4#2B32B4

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

Color values

HEX#2B32B4
RGBrgb(43, 50, 180)
HSLhsl(237, 61%, 44%)
HSVhsv(237, 76%, 71%)
CMYKcmyk(76.1%, 72.2%, 0%, 29.4%)
CIE-LABlab(29.64, 42.23, -68.96)
CIE-LCHlch(29.64, 80.86, 301.48°)
OKLaboklab(41.1% 0.0045 -0.1996)
OKLCHoklch(41.1% 0.2 271.3)
XYZxyz(10.3723, 6.0890, 43.7998)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32B4 #B4AD2B
analogous
#2B76B4 #2B32B4 #682BB4
triadic
#2B32B4 #B42B32 #32B42B
tetradic
#2B32B4 #B42B76 #B4AD2B #2BB468
square
#2B32B4 #B42B76 #B4AD2B #2BB468
split-complementary
#2B32B4 #B4682B #76B42B
monochromatic
#131751 #1F2483 #2B32B4 #4950D3 #7A7FDF

Accessibility & contrast

On white

9.47
#2B32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B32B4
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32B4#FFFFFF#000000##FFFFFF
##2B32B41.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b32b4;
/* rgb */ color: rgb(43, 50, 180);
/* oklch */ color: oklch(41.1% 0.200 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b6bcc',
    500: '#2b32b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b32b4;
$custom-light: #7b6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32b4",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 236.934,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41103,
    "c": 0.19967,
    "h": 271.3
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#2B32B4
secondary
#C7C373
accent
#DC43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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