#2B32AD#2B32AD

#2B32AD is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.191 H 271.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2B32AD
RGBrgb(43, 50, 173)
HSLhsl(237, 60%, 42%)
HSVhsv(237, 75%, 68%)
CMYKcmyk(75.1%, 71.1%, 0%, 32.2%)
CIE-LABlab(28.93, 39.81, -65.94)
CIE-LCHlch(28.93, 77.02, 301.12°)
OKLaboklab(40.39% 0.0055 -0.1908)
OKLCHoklch(40.39% 0.191 271.6)
XYZxyz(9.6771, 5.8109, 40.1387)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32AD #ADA62B
analogous
#2B73AD #2B32AD #652BAD
triadic
#2B32AD #AD2B32 #32AD2B
tetradic
#2B32AD #AD2B73 #ADA62B #2BAD65
square
#2B32AD #AD2B73 #ADA62B #2BAD65
split-complementary
#2B32AD #AD652B #73AD2B
monochromatic
#13164B #1F247C #2B32AD #454CD1 #767BDD

Accessibility & contrast

On white

9.71
#2B32AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B32AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32AD
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32AD#FFFFFF#000000##FFFFFF
##2B32AD1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b32ad;
/* rgb */ color: rgb(43, 50, 173);
/* oklch */ color: oklch(40.4% 0.191 271.6);
Tailwind
colors: {
  custom: {
    50: '#796bc7',
    500: '#2b32ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b32ad;
$custom-light: #796bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32ad",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 236.769,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.1909,
    "h": 271.6
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#2B32AD
secondary
#C4C06F
accent
#DB44E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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