#2B32AA#2B32AA

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

Color values

HEX#2B32AA
RGBrgb(43, 50, 170)
HSLhsl(237, 60%, 42%)
HSVhsv(237, 75%, 67%)
CMYKcmyk(74.7%, 70.6%, 0%, 33.3%)
CIE-LABlab(28.63, 38.76, -64.63)
CIE-LCHlch(28.63, 75.36, 300.95°)
OKLaboklab(40.08% 0.0059 -0.187)
OKLCHoklch(40.08% 0.187 271.8)
XYZxyz(9.3901, 5.6961, 38.6270)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32AA #AAA32B
analogous
#2B72AA #2B32AA #642BAA
triadic
#2B32AA #AA2B32 #32AA2B
tetradic
#2B32AA #AA2B72 #AAA32B #2BAA64
square
#2B32AA #AA2B72 #AAA32B #2BAA64
split-complementary
#2B32AA #AA642B #72AA2B
monochromatic
#121548 #1F2479 #2B32AA #434BCF #7479DC

Accessibility & contrast

On white

9.82
#2B32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32AA
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32AA#FFFFFF#000000##FFFFFF
##2B32AA1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b32aa;
/* rgb */ color: rgb(43, 50, 170);
/* oklch */ color: oklch(40.1% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#796bc4',
    500: '#2b32aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b32aa;
$custom-light: #796bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32aa",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 236.693,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40081,
    "c": 0.18709,
    "h": 271.8
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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