#2B32A6#2B32A6

#2B32A6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.182 H 272.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2B32A6
RGBrgb(43, 50, 166)
HSLhsl(237, 59%, 41%)
HSVhsv(237, 74%, 65%)
CMYKcmyk(74.1%, 69.9%, 0%, 34.9%)
CIE-LABlab(28.24, 37.36, -62.87)
CIE-LCHlch(28.24, 73.13, 300.72°)
OKLaboklab(39.68% 0.0064 -0.1819)
OKLCHoklch(39.68% 0.182 272)
XYZxyz(9.0175, 5.5470, 36.6644)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A6 #A69F2B
analogous
#2B6FA6 #2B32A6 #612BA6
triadic
#2B32A6 #A62B32 #32A62B
tetradic
#2B32A6 #A62B6F #A69F2B #2BA661
square
#2B32A6 #A62B6F #A69F2B #2BA661
split-complementary
#2B32A6 #A6612B #6FA62B
monochromatic
#121545 #1E2375 #2B32A6 #4149CE #7177DA

Accessibility & contrast

On white

9.95
#2B32A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B32A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32A6
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A6#FFFFFF#000000##FFFFFF
##2B32A61.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b32a6;
/* rgb */ color: rgb(43, 50, 166);
/* oklch */ color: oklch(39.7% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#786ac2',
    500: '#2b32a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a6;
$custom-light: #786ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a6",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 236.585,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.18197,
    "h": 272
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#2B32A6
secondary
#C1BD6B
accent
#D946E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B32A6

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

Preview Lab → · Contrast checker → · Palette generator →

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