#221861#221861

#221861 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.122 H 281.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#221861
RGBrgb(34, 24, 97)
HSLhsl(248, 60%, 24%)
HSVhsv(248, 75%, 38%)
CMYKcmyk(64.9%, 75.3%, 0%, 62%)
CIE-LABlab(14.71, 28.10, -41.58)
CIE-LCHlch(14.71, 50.19, 304.05°)
OKLaboklab(27.69% 0.0235 -0.1199)
OKLCHoklch(27.69% 0.122 281.1)
XYZxyz(3.1433, 1.8562, 11.4996)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221861 #576118
analogous
#183261 #221861 #461861
triadic
#221861 #612218 #186122
tetradic
#221861 #611832 #576118 #186146
square
#221861 #611832 #576118 #186146
split-complementary
#221861 #614618 #326118
monochromatic
#090619 #110C30 #221861 #332492 #4430C3

Accessibility & contrast

On white

15.32
#221861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221861
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221861#FFFFFF#000000##FFFFFF
##2218611.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002260
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221861;
/* rgb */ color: rgb(34, 24, 97);
/* oklch */ color: oklch(27.7% 0.122 281.1);
Tailwind
colors: {
  custom: {
    50: '#66568f',
    500: '#221861',
    950: '#000000',
  },
}
SCSS
$custom: #221861;
$custom-light: #66568f;
$custom-dark: #000000;
JSON
{
  "hex": "#221861",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 248.219,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2769,
    "c": 0.12214,
    "h": 281.1
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#221861
secondary
#8B973D
accent
#E344CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #221861

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

Preview Lab → · Contrast checker → · Palette generator →

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