#221370#221370

#221370 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.147 H 279.0°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#221370
RGBrgb(34, 19, 112)
HSLhsl(250, 71%, 26%)
HSVhsv(250, 83%, 44%)
CMYKcmyk(69.6%, 83%, 0%, 56.1%)
CIE-LABlab(15.36, 36.05, -50.38)
CIE-LCHlch(15.36, 61.95, 305.59°)
OKLaboklab(28.64% 0.023 -0.1455)
OKLCHoklch(28.64% 0.147 279)
XYZxyz(3.8163, 1.9754, 15.5063)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221370 #617013
analogous
#133370 #221370 #501370
triadic
#221370 #702213 #137022
tetradic
#221370 #701333 #617013 #137050
square
#221370 #701333 #617013 #137050
split-complementary
#221370 #705013 #337013
monochromatic
#08041A #120A3C #221370 #321CA4 #4225D9

Accessibility & contrast

On white

15.05
#221370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#221370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221370
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221370#FFFFFF#000000##FFFFFF
##2213701.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #221370;
/* rgb */ color: rgb(34, 19, 112);
/* oklch */ color: oklch(28.6% 0.147 279.0);
Tailwind
colors: {
  custom: {
    50: '#6a549a',
    500: '#221370',
    950: '#000000',
  },
}
SCSS
$custom: #221370;
$custom-light: #6a549a;
$custom-dark: #000000;
JSON
{
  "hex": "#221370",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 249.677,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.14729,
    "h": 279
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#221370
secondary
#95A738
accent
#EE3AD1
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221370

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

Preview Lab → · Contrast checker → · Palette generator →

#221370 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva