#221863#221863

#221863 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.125 H 280.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#221863
RGBrgb(34, 24, 99)
HSLhsl(248, 61%, 24%)
HSVhsv(248, 76%, 39%)
CMYKcmyk(65.7%, 75.8%, 0%, 61.2%)
CIE-LABlab(14.92, 28.80, -42.57)
CIE-LCHlch(14.92, 51.40, 304.08°)
OKLaboklab(27.9% 0.023 -0.1228)
OKLCHoklch(27.9% 0.125 280.6)
XYZxyz(3.2377, 1.8940, 11.9969)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221863 #596318
analogous
#183463 #221863 #481863
triadic
#221863 #632218 #186322
tetradic
#221863 #631834 #596318 #186348
square
#221863 #631834 #596318 #186348
split-complementary
#221863 #634818 #346318
monochromatic
#080619 #110C32 #221863 #332494 #4430C6

Accessibility & contrast

On white

15.23
#221863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221863
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221863#FFFFFF#000000##FFFFFF
##2218631.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #221863;
/* rgb */ color: rgb(34, 24, 99);
/* oklch */ color: oklch(27.9% 0.125 280.6);
Tailwind
colors: {
  custom: {
    50: '#665690',
    500: '#221863',
    950: '#000000',
  },
}
SCSS
$custom: #221863;
$custom-light: #665690;
$custom-dark: #000000;
JSON
{
  "hex": "#221863",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 248,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27901,
    "c": 0.1249,
    "h": 280.6
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#221863
secondary
#8D993E
accent
#E444CF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #221863

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

Preview Lab → · Contrast checker → · Palette generator →

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