#221869#221869

#221869 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.133 H 279.4°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#221869
RGBrgb(34, 24, 105)
HSLhsl(247, 63%, 25%)
HSVhsv(247, 77%, 41%)
CMYKcmyk(67.6%, 77.1%, 0%, 58.8%)
CIE-LABlab(15.56, 30.89, -45.48)
CIE-LCHlch(15.56, 54.98, 304.18°)
OKLaboklab(28.54% 0.0217 -0.1313)
OKLCHoklch(28.54% 0.133 279.4)
XYZxyz(3.5353, 2.0130, 13.5641)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221869 #5F6918
analogous
#183769 #221869 #4A1869
triadic
#221869 #692218 #186922
tetradic
#221869 #691837 #5F6918 #18694A
square
#221869 #691837 #5F6918 #18694A
split-complementary
#221869 #694A18 #376918
monochromatic
#080619 #120D37 #221869 #32239B #422FCD

Accessibility & contrast

On white

14.97
#221869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221869
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221869#FFFFFF#000000##FFFFFF
##2218691.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221869;
/* rgb */ color: rgb(34, 24, 105);
/* oklch */ color: oklch(28.5% 0.133 279.4);
Tailwind
colors: {
  custom: {
    50: '#685695',
    500: '#221869',
    950: '#000000',
  },
}
SCSS
$custom: #221869;
$custom-light: #685695;
$custom-dark: #000000;
JSON
{
  "hex": "#221869",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 247.407,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28544,
    "c": 0.13305,
    "h": 279.4
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#221869
secondary
#939F3E
accent
#E642D2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221869

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

Preview Lab → · Contrast checker → · Palette generator →

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