#2C22A9#2C22A9

#2C22A9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.201 H 274.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2C22A9
RGBrgb(44, 34, 169)
HSLhsl(244, 67%, 40%)
HSVhsv(244, 80%, 66%)
CMYKcmyk(74%, 79.9%, 0%, 33.7%)
CIE-LABlab(25.39, 47.52, -69.38)
CIE-LCHlch(25.39, 84.09, 304.41°)
OKLaboklab(37.77% 0.0147 -0.2007)
OKLCHoklch(37.77% 0.201 274.2)
XYZxyz(8.7698, 4.5432, 37.9432)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22A9 #9FA922
analogous
#225CA9 #2C22A9 #6F22A9
triadic
#2C22A9 #A92C22 #22A92C
tetradic
#2C22A9 #A9225C #9FA922 #22A96F
square
#2C22A9 #A9225C #9FA922 #22A96F
split-complementary
#2C22A9 #A96F22 #5CA922
monochromatic
#110D43 #1F1876 #2C22A9 #3E32D6 #6E65E0

Accessibility & contrast

On white

11.00
#2C22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22A9
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22A9#FFFFFF#000000##FFFFFF
##2C22A91.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c22a9;
/* rgb */ color: rgb(44, 34, 169);
/* oklch */ color: oklch(37.8% 0.201 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a61c4',
    500: '#2c22a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c22a9;
$custom-light: #7a61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22a9",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 244.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.20121,
    "h": 274.2
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2C22A9
secondary
#BEC561
accent
#E93EDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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