#221867#221867

#221867 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.130 H 279.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#221867
RGBrgb(34, 24, 103)
HSLhsl(248, 62%, 25%)
HSVhsv(248, 77%, 40%)
CMYKcmyk(67%, 76.7%, 0%, 59.6%)
CIE-LABlab(15.34, 30.20, -44.52)
CIE-LCHlch(15.34, 53.79, 304.15°)
OKLaboklab(28.33% 0.0222 -0.1284)
OKLCHoklch(28.33% 0.13 279.8)
XYZxyz(3.4337, 1.9724, 13.0291)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221867 #5D6718
analogous
#183567 #221867 #4A1867
triadic
#221867 #672218 #186722
tetradic
#221867 #671835 #5D6718 #18674A
square
#221867 #671835 #5D6718 #18674A
split-complementary
#221867 #674A18 #356718
monochromatic
#080619 #120C35 #221867 #322499 #432FCA

Accessibility & contrast

On white

15.06
#221867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#221867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221867
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221867#FFFFFF#000000##FFFFFF
##2218671.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #221867;
/* rgb */ color: rgb(34, 24, 103);
/* oklch */ color: oklch(28.3% 0.130 279.8);
Tailwind
colors: {
  custom: {
    50: '#675693',
    500: '#221867',
    950: '#000000',
  },
}
SCSS
$custom: #221867;
$custom-light: #675693;
$custom-dark: #000000;
JSON
{
  "hex": "#221867",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 247.595,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28328,
    "c": 0.13035,
    "h": 279.8
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#221867
secondary
#919D3E
accent
#E543D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221867

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

Preview Lab → · Contrast checker → · Palette generator →

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