#2B32A8#2B32A8

#2B32A8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.185 H 271.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2B32A8
RGBrgb(43, 50, 168)
HSLhsl(237, 59%, 41%)
HSVhsv(237, 74%, 66%)
CMYKcmyk(74.4%, 70.2%, 0%, 34.1%)
CIE-LABlab(28.44, 38.06, -63.75)
CIE-LCHlch(28.44, 74.25, 300.84°)
OKLaboklab(39.88% 0.0061 -0.1844)
OKLCHoklch(39.88% 0.185 271.9)
XYZxyz(9.2024, 5.6210, 37.6382)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A8 #A8A12B
analogous
#2B71A8 #2B32A8 #632BA8
triadic
#2B32A8 #A82B32 #32A82B
tetradic
#2B32A8 #A82B71 #A8A12B #2BA863
square
#2B32A8 #A82B71 #A8A12B #2BA863
split-complementary
#2B32A8 #A8632B #71A82B
monochromatic
#121547 #1F2377 #2B32A8 #424ACF #7278DB

Accessibility & contrast

On white

9.89
#2B32A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B32A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32A8
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A8#FFFFFF#000000##FFFFFF
##2B32A81.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b32a8;
/* rgb */ color: rgb(43, 50, 168);
/* oklch */ color: oklch(39.9% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#786ac3',
    500: '#2b32a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a8;
$custom-light: #786ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a8",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 236.64,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3988,
    "c": 0.18454,
    "h": 271.9
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#2B32A8
secondary
#C2BE6C
accent
#DA45E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2B32A8

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

Preview Lab → · Contrast checker → · Palette generator →

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