#2B32A2#2B32A2

#2B32A2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.177 H 272.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2B32A2
RGBrgb(43, 50, 162)
HSLhsl(236, 58%, 40%)
HSVhsv(236, 73%, 64%)
CMYKcmyk(73.5%, 69.1%, 0%, 36.5%)
CIE-LABlab(27.85, 35.94, -61.09)
CIE-LCHlch(27.85, 70.87, 300.47°)
OKLaboklab(39.28% 0.0068 -0.1766)
OKLCHoklch(39.28% 0.177 272.2)
XYZxyz(8.6563, 5.4026, 34.7620)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A2 #A29B2B
analogous
#2B6DA2 #2B32A2 #602BA2
triadic
#2B32A2 #A22B32 #32A22B
tetradic
#2B32A2 #A22B6D #A29B2B #2BA260
square
#2B32A2 #A22B6D #A29B2B #2BA260
split-complementary
#2B32A2 #A2602B #6DA22B
monochromatic
#111441 #1E2372 #2B32A2 #3E47CC #6F75D9

Accessibility & contrast

On white

10.09
#2B32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32A2
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A2#FFFFFF#000000##FFFFFF
##2B32A21.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b32a2;
/* rgb */ color: rgb(43, 50, 162);
/* oklch */ color: oklch(39.3% 0.177 272.2);
Tailwind
colors: {
  custom: {
    50: '#776abf',
    500: '#2b32a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a2;
$custom-light: #776abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a2",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 236.471,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.17678,
    "h": 272.2
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#2B32A2
secondary
#C0BB69
accent
#D847E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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