#2B32B2#2B32B2

#2B32B2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.197 H 271.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2B32B2
RGBrgb(43, 50, 178)
HSLhsl(237, 61%, 43%)
HSVhsv(237, 76%, 70%)
CMYKcmyk(75.8%, 71.9%, 0%, 30.2%)
CIE-LABlab(29.43, 41.54, -68.10)
CIE-LCHlch(29.43, 79.77, 301.38°)
OKLaboklab(40.9% 0.0048 -0.1971)
OKLCHoklch(40.9% 0.197 271.4)
XYZxyz(10.1700, 6.0081, 42.7345)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32B2 #B2AB2B
analogous
#2B75B2 #2B32B2 #672BB2
triadic
#2B32B2 #B22B32 #32B22B
tetradic
#2B32B2 #B22B75 #B2AB2B #2BB267
square
#2B32B2 #B22B75 #B2AB2B #2BB267
split-complementary
#2B32B2 #B2672B #75B22B
monochromatic
#13164F #1F2481 #2B32B2 #484FD3 #797EDF

Accessibility & contrast

On white

9.54
#2B32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32B2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32B2#FFFFFF#000000##FFFFFF
##2B32B21.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b32b2;
/* rgb */ color: rgb(43, 50, 178);
/* oklch */ color: oklch(40.9% 0.197 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b6bca',
    500: '#2b32b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b32b2;
$custom-light: #7b6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32b2",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 236.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.19718,
    "h": 271.4
  },
  "luminance": 0.06009
}

Semantic roles & 50–950 ramp

primary
#2B32B2
secondary
#C7C272
accent
#DC44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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