#2C22C1#2C22C1

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

Color values

HEX#2C22C1
RGBrgb(44, 34, 193)
HSLhsl(244, 70%, 45%)
HSVhsv(244, 82%, 76%)
CMYKcmyk(77.2%, 82.4%, 0%, 24.3%)
CIE-LABlab(28.19, 54.89, -79.05)
CIE-LCHlch(28.19, 96.24, 304.78°)
OKLaboklab(40.52% 0.0088 -0.2287)
OKLCHoklch(40.52% 0.229 272.2)
XYZxyz(11.2331, 5.5286, 50.9168)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22C1 #B7C122
analogous
#2267C1 #2C22C1 #7C22C1
triadic
#2C22C1 #C12C22 #22C12C
tetradic
#2C22C1 #C12267 #B7C122 #22C17C
square
#2C22C1 #C12267 #B7C122 #22C17C
split-complementary
#2C22C1 #C17C22 #67C122
monochromatic
#141059 #20198D #2C22C1 #4C42DE #7E76E7

Accessibility & contrast

On white

9.97
#2C22C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C22C1
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22C1#FFFFFF#000000##FFFFFF
##2C22C11.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c22c1;
/* rgb */ color: rgb(44, 34, 193);
/* oklch */ color: oklch(40.5% 0.229 272.2);
Tailwind
colors: {
  custom: {
    50: '#8062d5',
    500: '#2c22c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c22c1;
$custom-light: #8062d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22c1",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 243.774,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.22887,
    "h": 272.2
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C22C1

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

Preview Lab → · Contrast checker → · Palette generator →

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