#2B32AB#2B32AB

#2B32AB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.188 H 271.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2B32AB
RGBrgb(43, 50, 171)
HSLhsl(237, 60%, 42%)
HSVhsv(237, 75%, 67%)
CMYKcmyk(74.9%, 70.8%, 0%, 32.9%)
CIE-LABlab(28.73, 39.11, -65.07)
CIE-LCHlch(28.73, 75.92, 301.01°)
OKLaboklab(40.18% 0.0057 -0.1883)
OKLCHoklch(40.18% 0.188 271.7)
XYZxyz(9.4851, 5.7341, 39.1271)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32AB #ABA42B
analogous
#2B72AB #2B32AB #642BAB
triadic
#2B32AB #AB2B32 #32AB2B
tetradic
#2B32AB #AB2B72 #ABA42B #2BAB64
square
#2B32AB #AB2B72 #ABA42B #2BAB64
split-complementary
#2B32AB #AB642B #72AB2B
monochromatic
#121549 #1F247A #2B32AB #434BD0 #747ADC

Accessibility & contrast

On white

9.78
#2B32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32AB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32AB#FFFFFF#000000##FFFFFF
##2B32AB1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b32ab;
/* rgb */ color: rgb(43, 50, 171);
/* oklch */ color: oklch(40.2% 0.188 271.7);
Tailwind
colors: {
  custom: {
    50: '#796bc5',
    500: '#2b32ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b32ab;
$custom-light: #796bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32ab",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 236.719,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.18837,
    "h": 271.7
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#2B32AB
secondary
#C4BF6E
accent
#DA45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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