#2B32C1#2B32C1

#2B32C1 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.216 H 270.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2B32C1
RGBrgb(43, 50, 193)
HSLhsl(237, 64%, 46%)
HSVhsv(237, 78%, 76%)
CMYKcmyk(77.7%, 74.1%, 0%, 24.3%)
CIE-LABlab(30.98, 46.64, -74.43)
CIE-LCHlch(30.98, 87.83, 302.07°)
OKLaboklab(42.46% 0.0026 -0.2155)
OKLCHoklch(42.46% 0.216 270.7)
XYZxyz(11.7592, 6.6437, 51.1044)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B32C1 #C1BA2B
analogous
#2B7DC1 #2B32C1 #6F2BC1
triadic
#2B32C1 #C12B32 #32C12B
tetradic
#2B32C1 #C12B7D #C1BA2B #2BC16F
square
#2B32C1 #C12B7D #C1BA2B #2BC16F
split-complementary
#2B32C1 #C16F2B #7DC12B
monochromatic
#15185D #20258F #2B32C1 #5157D8 #8388E3

Accessibility & contrast

On white

9.02
#2B32C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B32C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B32C1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B32C1#FFFFFF#000000##FFFFFF
##2B32C11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0041BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b32c1;
/* rgb */ color: rgb(43, 50, 193);
/* oklch */ color: oklch(42.5% 0.216 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e6bd5',
    500: '#2b32c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b32c1;
$custom-light: #7e6bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b32c1",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 237.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.21555,
    "h": 270.7
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#2B32C1
secondary
#CCC97B
accent
#DF41E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2B32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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