#2B32C4#2B32C4

#2B32C4 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.219 H 270.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2B32C4
RGBrgb(43, 50, 196)
HSLhsl(237, 64%, 47%)
HSVhsv(237, 78%, 77%)
CMYKcmyk(78.1%, 74.5%, 0%, 23.1%)
CIE-LABlab(31.30, 47.64, -75.66)
CIE-LCHlch(31.30, 89.41, 302.19°)
OKLaboklab(42.78% 0.0021 -0.2191)
OKLCHoklch(42.78% 0.219 270.5)
XYZxyz(12.0973, 6.7790, 52.8848)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32C4 #C4BD2B
analogous
#2B7FC4 #2B32C4 #712BC4
triadic
#2B32C4 #C42B32 #32C42B
tetradic
#2B32C4 #C42B7F #C4BD2B #2BC471
square
#2B32C4 #C42B7F #C4BD2B #2BC471
split-complementary
#2B32C4 #C4712B #7FC42B
monochromatic
#151860 #202592 #2B32C4 #5359D9 #8589E4

Accessibility & contrast

On white

8.91
#2B32C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B32C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32C4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32C4#FFFFFF#000000##FFFFFF
##2B32C41.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0042C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b32c4;
/* rgb */ color: rgb(43, 50, 196);
/* oklch */ color: oklch(42.8% 0.219 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f6cd7',
    500: '#2b32c4',
    950: '#000000',
  },
}
SCSS
$custom: #2b32c4;
$custom-light: #7f6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32c4",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 237.255,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.21914,
    "h": 270.5
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#2B32C4
secondary
#CECA7D
accent
#DF41E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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