#221AAA#221AAA

#221AAA is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.4% C 0.211 H 271.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#221AAA
RGBrgb(34, 26, 170)
HSLhsl(243, 73%, 38%)
HSVhsv(243, 85%, 67%)
CMYKcmyk(80%, 84.7%, 0%, 33.3%)
CIE-LABlab(23.61, 50.96, -72.96)
CIE-LCHlch(23.61, 88.99, 304.93°)
OKLaboklab(36.4% 0.0043 -0.2111)
OKLCHoklch(36.4% 0.211 271.2)
XYZxyz(8.2823, 3.9802, 38.3542)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221AAA #A2AA1A
analogous
#1A5AAA #221AAA #6A1AAA
triadic
#221AAA #AA221A #1AAA22
tetradic
#221AAA #AA1A5A #A2AA1A #1AAA6A
square
#221AAA #AA1A5A #A2AA1A #1AAA6A
split-complementary
#221AAA #AA6A1A #5AAA1A
monochromatic
#0D0A40 #171275 #221AAA #2E24DD #6159E6

Accessibility & contrast

On white

11.69
#221AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#221AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221AAA
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221AAA#FFFFFF#000000##FFFFFF
##221AAA1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAE
Deuteranopia (green-blind)
#0031A8
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #221aaa;
/* rgb */ color: rgb(34, 26, 170);
/* oklch */ color: oklch(36.4% 0.211 271.2);
Tailwind
colors: {
  custom: {
    50: '#785cc5',
    500: '#221aaa',
    950: '#000000',
  },
}
SCSS
$custom: #221aaa;
$custom-light: #785cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#221aaa",
  "rgb": {
    "r": 34,
    "g": 26,
    "b": 170
  },
  "hsl": {
    "h": 243.333,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.364,
    "c": 0.21114,
    "h": 271.2
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#221AAA
secondary
#C3C957
accent
#F038E6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #221AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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