#2B22C1#2B22C1

#2B22C1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.5% C 0.229 H 271.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2B22C1
RGBrgb(43, 34, 193)
HSLhsl(243, 70%, 45%)
HSVhsv(243, 82%, 76%)
CMYKcmyk(77.7%, 82.4%, 0%, 24.3%)
CIE-LABlab(28.13, 54.84, -79.15)
CIE-LCHlch(28.13, 96.29, 304.72°)
OKLaboklab(40.47% 0.0076 -0.229)
OKLCHoklch(40.47% 0.229 271.9)
XYZxyz(11.1907, 5.5067, 50.9148)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B22C1 #B8C122
analogous
#2269C1 #2B22C1 #7A22C1
triadic
#2B22C1 #C12B22 #22C12B
tetradic
#2B22C1 #C12269 #B8C122 #22C17A
square
#2B22C1 #C12269 #B8C122 #22C17A
split-complementary
#2B22C1 #C17A22 #69C122
monochromatic
#141059 #1F198D #2B22C1 #4B42DE #7D76E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B22C1#FFFFFF#000000##FFFFFF
##2B22C11.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)
#004AC5
Deuteranopia (green-blind)
#003ABE
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b22c1;
/* rgb */ color: rgb(43, 34, 193);
/* oklch */ color: oklch(40.5% 0.229 271.9);
Tailwind
colors: {
  custom: {
    50: '#8062d5',
    500: '#2b22c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b22c1;
$custom-light: #8062d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b22c1",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 243.396,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40465,
    "c": 0.22913,
    "h": 271.9
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#2B22C1
secondary
#C9CE71
accent
#ED3BE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2B22C1

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

Preview Lab → · Contrast checker → · Palette generator →

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