#2B32A3#2B32A3

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

Color values

HEX#2B32A3
RGBrgb(43, 50, 163)
HSLhsl(237, 58%, 40%)
HSVhsv(237, 74%, 64%)
CMYKcmyk(73.6%, 69.3%, 0%, 36.1%)
CIE-LABlab(27.95, 36.30, -61.53)
CIE-LCHlch(27.95, 71.44, 300.53°)
OKLaboklab(39.38% 0.0067 -0.178)
OKLCHoklch(39.38% 0.178 272.2)
XYZxyz(8.7455, 5.4382, 35.2320)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A3 #A39C2B
analogous
#2B6EA3 #2B32A3 #602BA3
triadic
#2B32A3 #A32B32 #32A32B
tetradic
#2B32A3 #A32B6E #A39C2B #2BA360
square
#2B32A3 #A32B6E #A39C2B #2BA360
split-complementary
#2B32A3 #A3602B #6EA32B
monochromatic
#111442 #1E2373 #2B32A3 #3F47CC #6F75D9

Accessibility & contrast

On white

10.06
#2B32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32A3
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A3#FFFFFF#000000##FFFFFF
##2B32A31.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b32a3;
/* rgb */ color: rgb(43, 50, 163);
/* oklch */ color: oklch(39.4% 0.178 272.2);
Tailwind
colors: {
  custom: {
    50: '#776abf',
    500: '#2b32a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a3;
$custom-light: #776abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a3",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 236.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.17809,
    "h": 272.2
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#2B32A3
secondary
#C0BB6A
accent
#D846E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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