#2A32A8#2A32A8

#2A32A8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.185 H 271.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2A32A8
RGBrgb(42, 50, 168)
HSLhsl(236, 60%, 41%)
HSVhsv(236, 75%, 66%)
CMYKcmyk(75%, 70.2%, 0%, 34.1%)
CIE-LABlab(28.38, 37.96, -63.85)
CIE-LCHlch(28.38, 74.28, 300.73°)
OKLaboklab(39.82% 0.005 -0.1847)
OKLCHoklch(39.82% 0.185 271.6)
XYZxyz(9.1609, 5.5996, 37.6362)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A32A8 #A8A02A
analogous
#2A71A8 #2A32A8 #612AA8
triadic
#2A32A8 #A82A32 #32A82A
tetradic
#2A32A8 #A82A71 #A8A02A #2AA861
square
#2A32A8 #A82A71 #A8A02A #2AA861
split-complementary
#2A32A8 #A8612A #71A82A
monochromatic
#121546 #1E2377 #2A32A8 #4049CF #7178DB

Accessibility & contrast

On white

9.90
#2A32A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A32A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A32A8
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A32A8#FFFFFF#000000##FFFFFF
##2A32A81.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a32a8;
/* rgb */ color: rgb(42, 50, 168);
/* oklch */ color: oklch(39.8% 0.185 271.6);
Tailwind
colors: {
  custom: {
    50: '#786ac3',
    500: '#2a32a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a32a8;
$custom-light: #786ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a32a8",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 236.19,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.18481,
    "h": 271.6
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#2A32A8
secondary
#C3BD6B
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2A32A8

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

Preview Lab → · Contrast checker → · Palette generator →

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