#2B32B3#2B32B3

#2B32B3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.198 H 271.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2B32B3
RGBrgb(43, 50, 179)
HSLhsl(237, 61%, 44%)
HSVhsv(237, 76%, 70%)
CMYKcmyk(76%, 72.1%, 0%, 29.8%)
CIE-LABlab(29.53, 41.89, -68.53)
CIE-LCHlch(29.53, 80.32, 301.43°)
OKLaboklab(41% 0.0046 -0.1984)
OKLCHoklch(41% 0.198 271.3)
XYZxyz(10.2708, 6.0484, 43.2652)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32B3 #B3AC2B
analogous
#2B76B3 #2B32B3 #682BB3
triadic
#2B32B3 #B32B32 #32B32B
tetradic
#2B32B3 #B32B76 #B3AC2B #2BB368
square
#2B32B3 #B32B76 #B3AC2B #2BB368
split-complementary
#2B32B3 #B3682B #76B32B
monochromatic
#131650 #1F2482 #2B32B3 #484FD3 #797FDF

Accessibility & contrast

On white

9.50
#2B32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32B3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32B3#FFFFFF#000000##FFFFFF
##2B32B31.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b32b3;
/* rgb */ color: rgb(43, 50, 179);
/* oklch */ color: oklch(41.0% 0.198 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b6bcb',
    500: '#2b32b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b32b3;
$custom-light: #7b6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32b3",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 236.912,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41,
    "c": 0.19842,
    "h": 271.3
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#2B32B3
secondary
#C7C373
accent
#DC43E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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