#2D22C1#2D22C1

#2D22C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.229 H 272.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2D22C1
RGBrgb(45, 34, 193)
HSLhsl(244, 70%, 45%)
HSVhsv(244, 82%, 76%)
CMYKcmyk(76.7%, 82.4%, 0%, 24.3%)
CIE-LABlab(28.25, 54.95, -78.95)
CIE-LCHlch(28.25, 96.19, 304.84°)
OKLaboklab(40.58% 0.01 -0.2284)
OKLCHoklch(40.58% 0.229 272.5)
XYZxyz(11.2766, 5.5510, 50.9189)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22C1 #B6C122
analogous
#2267C1 #2D22C1 #7D22C1
triadic
#2D22C1 #C12D22 #22C12D
tetradic
#2D22C1 #C12267 #B6C122 #22C17D
square
#2D22C1 #C12267 #B6C122 #22C17D
split-complementary
#2D22C1 #C17D22 #67C122
monochromatic
#151059 #21198D #2D22C1 #4D42DE #7E76E7

Accessibility & contrast

On white

9.95
#2D22C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D22C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22C1
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22C1#FFFFFF#000000##FFFFFF
##2D22C11.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d22c1;
/* rgb */ color: rgb(45, 34, 193);
/* oklch */ color: oklch(40.6% 0.229 272.5);
Tailwind
colors: {
  custom: {
    50: '#8062d5',
    500: '#2d22c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d22c1;
$custom-light: #8062d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22c1",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 244.151,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.22861,
    "h": 272.5
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#2D22C1
secondary
#C8CE71
accent
#ED3BE1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2D22C1

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

Preview Lab → · Contrast checker → · Palette generator →

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