#2B32A5#2B32A5

#2B32A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.181 H 272.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2B32A5
RGBrgb(43, 50, 165)
HSLhsl(237, 59%, 41%)
HSVhsv(237, 74%, 65%)
CMYKcmyk(73.9%, 69.7%, 0%, 35.3%)
CIE-LABlab(28.14, 37.00, -62.42)
CIE-LCHlch(28.14, 72.57, 300.66°)
OKLaboklab(39.58% 0.0065 -0.1806)
OKLCHoklch(39.58% 0.181 272.1)
XYZxyz(8.9261, 5.5105, 36.1832)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32A5 #A59E2B
analogous
#2B6FA5 #2B32A5 #612BA5
triadic
#2B32A5 #A52B32 #32A52B
tetradic
#2B32A5 #A52B6F #A59E2B #2BA561
square
#2B32A5 #A52B6F #A59E2B #2BA561
split-complementary
#2B32A5 #A5612B #6FA52B
monochromatic
#121544 #1E2374 #2B32A5 #4048CD #7177DA

Accessibility & contrast

On white

9.99
#2B32A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B32A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32A5
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32A5#FFFFFF#000000##FFFFFF
##2B32A51.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b32a5;
/* rgb */ color: rgb(43, 50, 165);
/* oklch */ color: oklch(39.6% 0.181 272.1);
Tailwind
colors: {
  custom: {
    50: '#776ac1',
    500: '#2b32a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b32a5;
$custom-light: #776ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32a5",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 236.557,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.18068,
    "h": 272.1
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#2B32A5
secondary
#C1BC6B
accent
#D946E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B32A5

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

Preview Lab → · Contrast checker → · Palette generator →

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