#2D22C2#2D22C2

#2D22C2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.7% C 0.230 H 272.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2D22C2
RGBrgb(45, 34, 194)
HSLhsl(244, 70%, 45%)
HSVhsv(244, 82%, 76%)
CMYKcmyk(76.8%, 82.5%, 0%, 23.9%)
CIE-LABlab(28.37, 55.25, -79.34)
CIE-LCHlch(28.37, 96.68, 304.85°)
OKLaboklab(40.69% 0.0098 -0.2295)
OKLCHoklch(40.69% 0.23 272.4)
XYZxyz(11.3886, 5.5958, 51.5084)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D22C2 #B7C222
analogous
#2267C2 #2D22C2 #7D22C2
triadic
#2D22C2 #C22D22 #22C22D
tetradic
#2D22C2 #C22267 #B7C222 #22C27D
square
#2D22C2 #C22267 #B7C222 #22C27D
split-complementary
#2D22C2 #C27D22 #67C222
monochromatic
#15105A #21198E #2D22C2 #4E43DE #7F77E7

Accessibility & contrast

On white

9.91
#2D22C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D22C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D22C2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D22C2#FFFFFF#000000##FFFFFF
##2D22C21.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003BBF
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d22c2;
/* rgb */ color: rgb(45, 34, 194);
/* oklch */ color: oklch(40.7% 0.230 272.4);
Tailwind
colors: {
  custom: {
    50: '#8062d6',
    500: '#2d22c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d22c2;
$custom-light: #8062d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d22c2",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 194
  },
  "hsl": {
    "h": 244.125,
    "s": 70.175,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40694,
    "c": 0.22974,
    "h": 272.4
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#2D22C2
secondary
#C8CF71
accent
#ED3BE1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0515
muted
#7D7A83

Preview Lab

Preview with #2D22C2

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

Preview Lab → · Contrast checker → · Palette generator →

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