#2C22AF#2C22AF

#2C22AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.208 H 273.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2C22AF
RGBrgb(44, 34, 175)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 81%, 69%)
CMYKcmyk(74.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(26.08, 49.40, -71.85)
CIE-LCHlch(26.08, 87.19, 304.51°)
OKLaboklab(38.45% 0.0132 -0.2078)
OKLCHoklch(38.45% 0.208 273.6)
XYZxyz(9.3460, 4.7737, 40.9780)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22AF #A5AF22
analogous
#225EAF #2C22AF #7222AF
triadic
#2C22AF #AF2C22 #22AF2C
tetradic
#2C22AF #AF225E #A5AF22 #22AF72
square
#2C22AF #AF225E #A5AF22 #22AF72
split-complementary
#2C22AF #AF7222 #5EAF22
monochromatic
#120E49 #1F187C #2C22AF #4236D8 #7269E2

Accessibility & contrast

On white

10.74
#2C22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22AF
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22AF#FFFFFF#000000##FFFFFF
##2C22AF1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c22af;
/* rgb */ color: rgb(44, 34, 175);
/* oklch */ color: oklch(38.4% 0.208 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c61c8',
    500: '#2c22af',
    950: '#000000',
  },
}
SCSS
$custom: #2c22af;
$custom-light: #7c61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22af",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 244.255,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.20825,
    "h": 273.6
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#2C22AF
secondary
#C1C865
accent
#EA3DDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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