#2B32A9#2B32A9

#2B32A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.186 H 271.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2B32A9
RGBrgb(43, 50, 169)
HSLhsl(237, 59%, 42%)
HSVhsv(237, 75%, 66%)
CMYKcmyk(74.6%, 70.4%, 0%, 33.7%)
CIE-LABlab(28.53, 38.41, -64.19)
CIE-LCHlch(28.53, 74.81, 300.90°)
OKLaboklab(39.98% 0.006 -0.1857)
OKLCHoklch(39.98% 0.186 271.8)
XYZxyz(9.2959, 5.6584, 38.1307)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A9 #A9A22B
analogous
#2B71A9 #2B32A9 #632BA9
triadic
#2B32A9 #A92B32 #32A92B
tetradic
#2B32A9 #A92B71 #A9A22B #2BA963
square
#2B32A9 #A92B71 #A9A22B #2BA963
split-complementary
#2B32A9 #A9632B #71A92B
monochromatic
#121547 #1F2478 #2B32A9 #424ACF #7379DB

Accessibility & contrast

On white

9.85
#2B32A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B32A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32A9
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A9#FFFFFF#000000##FFFFFF
##2B32A91.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b32a9;
/* rgb */ color: rgb(43, 50, 169);
/* oklch */ color: oklch(40.0% 0.186 271.8);
Tailwind
colors: {
  custom: {
    50: '#786ac4',
    500: '#2b32a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a9;
$custom-light: #786ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a9",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 236.667,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.18582,
    "h": 271.8
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#2B32A9
secondary
#C3BE6D
accent
#DA45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2B32A9

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

Preview Lab → · Contrast checker → · Palette generator →

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