#2C22AE#2C22AE

#2C22AE is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.207 H 273.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2C22AE
RGBrgb(44, 34, 174)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 68%)
CMYKcmyk(74.7%, 80.5%, 0%, 31.8%)
CIE-LABlab(25.96, 49.09, -71.44)
CIE-LCHlch(25.96, 86.68, 304.50°)
OKLaboklab(38.33% 0.0135 -0.2066)
OKLCHoklch(38.33% 0.207 273.7)
XYZxyz(9.2482, 4.7346, 40.4627)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22AE #A4AE22
analogous
#225EAE #2C22AE #7222AE
triadic
#2C22AE #AE2C22 #22AE2C
tetradic
#2C22AE #AE225E #A4AE22 #22AE72
square
#2C22AE #AE225E #A4AE22 #22AE72
split-complementary
#2C22AE #AE7222 #5EAE22
monochromatic
#120E48 #1F187B #2C22AE #4136D8 #7169E2

Accessibility & contrast

On white

10.78
#2C22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22AE
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22AE#FFFFFF#000000##FFFFFF
##2C22AE1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c22ae;
/* rgb */ color: rgb(44, 34, 174);
/* oklch */ color: oklch(38.3% 0.207 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b61c8',
    500: '#2c22ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c22ae;
$custom-light: #7b61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22ae",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 244.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.20709,
    "h": 273.7
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#2C22AE
secondary
#C0C764
accent
#EA3EDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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