#2B32A7#2B32A7

#2B32A7 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.183 H 272.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2B32A7
RGBrgb(43, 50, 167)
HSLhsl(237, 59%, 41%)
HSVhsv(237, 74%, 65%)
CMYKcmyk(74.3%, 70.1%, 0%, 34.5%)
CIE-LABlab(28.34, 37.71, -63.31)
CIE-LCHlch(28.34, 73.69, 300.78°)
OKLaboklab(39.78% 0.0062 -0.1831)
OKLCHoklch(39.78% 0.183 272)
XYZxyz(9.1096, 5.5839, 37.1494)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A7 #A7A02B
analogous
#2B70A7 #2B32A7 #622BA7
triadic
#2B32A7 #A72B32 #32A72B
tetradic
#2B32A7 #A72B70 #A7A02B #2BA762
square
#2B32A7 #A72B70 #A7A02B #2BA762
split-complementary
#2B32A7 #A7622B #70A72B
monochromatic
#121546 #1E2376 #2B32A7 #4149CE #7278DB

Accessibility & contrast

On white

9.92
#2B32A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B32A7
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A7#FFFFFF#000000##FFFFFF
##2B32A71.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b32a7;
/* rgb */ color: rgb(43, 50, 167);
/* oklch */ color: oklch(39.8% 0.183 272.0);
Tailwind
colors: {
  custom: {
    50: '#786ac2',
    500: '#2b32a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a7;
$custom-light: #786ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a7",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 236.613,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.18326,
    "h": 272
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#2B32A7
secondary
#C2BD6C
accent
#D946E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2B32A7

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

Preview Lab → · Contrast checker → · Palette generator →

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