#221860#221860

#221860 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.121 H 281.3°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#221860
RGBrgb(34, 24, 96)
HSLhsl(248, 60%, 24%)
HSVhsv(248, 75%, 38%)
CMYKcmyk(64.6%, 75%, 0%, 62.4%)
CIE-LABlab(14.61, 27.75, -41.09)
CIE-LCHlch(14.61, 49.58, 304.04°)
OKLaboklab(27.59% 0.0237 -0.1184)
OKLCHoklch(27.59% 0.121 281.3)
XYZxyz(3.0970, 1.8377, 11.2556)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221860 #566018
analogous
#183260 #221860 #461860
triadic
#221860 #602218 #186022
tetradic
#221860 #601832 #566018 #186046
square
#221860 #601832 #566018 #186046
split-complementary
#221860 #604618 #326018
monochromatic
#090618 #110C2F #221860 #332491 #4530C2

Accessibility & contrast

On white

15.36
#221860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#221860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221860
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221860#FFFFFF#000000##FFFFFF
##2218601.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221860;
/* rgb */ color: rgb(34, 24, 96);
/* oklch */ color: oklch(27.6% 0.121 281.3);
Tailwind
colors: {
  custom: {
    50: '#66568e',
    500: '#221860',
    950: '#000000',
  },
}
SCSS
$custom: #221860;
$custom-light: #66568e;
$custom-dark: #000000;
JSON
{
  "hex": "#221860",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 248.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27586,
    "c": 0.12075,
    "h": 281.3
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#221860
secondary
#8A963D
accent
#E345CD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #221860

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

Preview Lab → · Contrast checker → · Palette generator →

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