#221C8A#221C8A

#221C8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.172 H 273.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#221C8A
RGBrgb(34, 28, 138)
HSLhsl(243, 66%, 33%)
HSVhsv(243, 80%, 54%)
CMYKcmyk(75.4%, 79.7%, 0%, 45.9%)
CIE-LABlab(20.06, 39.81, -59.17)
CIE-LCHlch(20.06, 71.32, 303.94°)
OKLaboklab(32.82% 0.0116 -0.1712)
OKLCHoklch(32.82% 0.172 273.9)
XYZxyz(5.6609, 3.0050, 24.3215)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221C8A #848A1C
analogous
#1C4D8A #221C8A #591C8A
triadic
#221C8A #8A221C #1C8A22
tetradic
#221C8A #8A1C4D #848A1C #1C8A59
square
#221C8A #8A1C4D #848A1C #1C8A59
split-complementary
#221C8A #8A591C #4D8A1C
monochromatic
#090724 #151257 #221C8A #2F26BD #4F47DA

Accessibility & contrast

On white

13.12
#221C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#221C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221C8A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221C8A#FFFFFF#000000##FFFFFF
##221C8A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #221c8a;
/* rgb */ color: rgb(34, 28, 138);
/* oklch */ color: oklch(32.8% 0.172 273.9);
Tailwind
colors: {
  custom: {
    50: '#705bad',
    500: '#221c8a',
    950: '#000000',
  },
}
SCSS
$custom: #221c8a;
$custom-light: #705bad;
$custom-dark: #000000;
JSON
{
  "hex": "#221c8a",
  "rgb": {
    "r": 34,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 243.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.17157,
    "h": 273.9
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#221C8A
secondary
#B5BB46
accent
#E93FE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #221C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#221C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva