#2B32B8#2B32B8

#2B32B8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.5% C 0.205 H 271.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2B32B8
RGBrgb(43, 50, 184)
HSLhsl(237, 62%, 45%)
HSVhsv(237, 77%, 72%)
CMYKcmyk(76.6%, 72.8%, 0%, 27.8%)
CIE-LABlab(30.05, 43.60, -70.66)
CIE-LCHlch(30.05, 83.03, 301.68°)
OKLaboklab(41.52% 0.0039 -0.2046)
OKLCHoklch(41.52% 0.205 271.1)
XYZxyz(10.7857, 6.2543, 45.9769)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32B8 #B8B12B
analogous
#2B79B8 #2B32B8 #6A2BB8
triadic
#2B32B8 #B82B32 #32B82B
tetradic
#2B32B8 #B82B79 #B8B12B #2BB86A
square
#2B32B8 #B82B79 #B8B12B #2BB86A
split-complementary
#2B32B8 #B86A2B #79B82B
monochromatic
#141755 #1F2586 #2B32B8 #4B52D5 #7D82E1

Accessibility & contrast

On white

9.33
#2B32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2B32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32B8
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32B8#FFFFFF#000000##FFFFFF
##2B32B81.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b32b8;
/* rgb */ color: rgb(43, 50, 184);
/* oklch */ color: oklch(41.5% 0.205 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c6bcf',
    500: '#2b32b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b32b8;
$custom-light: #7c6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32b8",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 237.021,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.20461,
    "h": 271.1
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#2B32B8
secondary
#C9C576
accent
#DD43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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