#221864#221864

#221864 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.126 H 280.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#221864
RGBrgb(34, 24, 100)
HSLhsl(248, 61%, 24%)
HSVhsv(248, 76%, 39%)
CMYKcmyk(66%, 76%, 0%, 60.8%)
CIE-LABlab(15.03, 29.15, -43.06)
CIE-LCHlch(15.03, 52.00, 304.10°)
OKLaboklab(28.01% 0.0228 -0.1242)
OKLCHoklch(28.01% 0.126 280.4)
XYZxyz(3.2858, 1.9132, 12.2503)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221864 #5A6418
analogous
#183464 #221864 #481864
triadic
#221864 #642218 #186422
tetradic
#221864 #641834 #5A6418 #186448
square
#221864 #641834 #5A6418 #186448
split-complementary
#221864 #644818 #346418
monochromatic
#080619 #110C33 #221864 #332495 #4430C7

Accessibility & contrast

On white

15.19
#221864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#221864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221864
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221864#FFFFFF#000000##FFFFFF
##2218641.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #221864;
/* rgb */ color: rgb(34, 24, 100);
/* oklch */ color: oklch(28.0% 0.126 280.4);
Tailwind
colors: {
  custom: {
    50: '#675691',
    500: '#221864',
    950: '#000000',
  },
}
SCSS
$custom: #221864;
$custom-light: #675691;
$custom-dark: #000000;
JSON
{
  "hex": "#221864",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 247.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28007,
    "c": 0.12627,
    "h": 280.4
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#221864
secondary
#8E9A3E
accent
#E443CF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221864

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

Preview Lab → · Contrast checker → · Palette generator →

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