#2C22A8#2C22A8

#2C22A8 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.200 H 274.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2C22A8
RGBrgb(44, 34, 168)
HSLhsl(244, 66%, 40%)
HSVhsv(244, 80%, 66%)
CMYKcmyk(73.8%, 79.8%, 0%, 34.1%)
CIE-LABlab(25.28, 47.21, -68.96)
CIE-LCHlch(25.28, 83.57, 304.40°)
OKLaboklab(37.66% 0.015 -0.1995)
OKLCHoklch(37.66% 0.2 274.3)
XYZxyz(8.6763, 4.5058, 37.4507)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C22A8 #9EA822
analogous
#225BA8 #2C22A8 #6F22A8
triadic
#2C22A8 #A82C22 #22A82C
tetradic
#2C22A8 #A8225B #9EA822 #22A86F
square
#2C22A8 #A8225B #9EA822 #22A86F
split-complementary
#2C22A8 #A86F22 #5BA822
monochromatic
#110D42 #1F1875 #2C22A8 #3E32D5 #6E65E0

Accessibility & contrast

On white

11.04
#2C22A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C22A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C22A8
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C22A8#FFFFFF#000000##FFFFFF
##2C22A81.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c22a8;
/* rgb */ color: rgb(44, 34, 168);
/* oklch */ color: oklch(37.7% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a61c3',
    500: '#2c22a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c22a8;
$custom-light: #7a61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c22a8",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 244.478,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37655,
    "c": 0.20002,
    "h": 274.3
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C22A8

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

Preview Lab → · Contrast checker → · Palette generator →

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