#221968#221968

#221968 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.131 H 279.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#221968
RGBrgb(34, 25, 104)
HSLhsl(247, 61%, 25%)
HSVhsv(247, 76%, 41%)
CMYKcmyk(67.3%, 76%, 0%, 59.2%)
CIE-LABlab(15.67, 29.93, -44.64)
CIE-LCHlch(15.67, 53.75, 303.84°)
OKLaboklab(28.59% 0.0212 -0.1288)
OKLCHoklch(28.59% 0.131 279.3)
XYZxyz(3.5052, 2.0345, 13.3020)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221968 #5F6819
analogous
#193868 #221968 #491968
triadic
#221968 #682219 #196822
tetradic
#221968 #681938 #5F6819 #196849
square
#221968 #681938 #5F6819 #196849
split-complementary
#221968 #684919 #386819
monochromatic
#080619 #120D37 #221968 #322599 #4231CB

Accessibility & contrast

On white

14.93
#221968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#221968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221968
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221968#FFFFFF#000000##FFFFFF
##2219681.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221968;
/* rgb */ color: rgb(34, 25, 104);
/* oklch */ color: oklch(28.6% 0.131 279.3);
Tailwind
colors: {
  custom: {
    50: '#685794',
    500: '#221968',
    950: '#000000',
  },
}
SCSS
$custom: #221968;
$custom-light: #685794;
$custom-dark: #000000;
JSON
{
  "hex": "#221968",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 246.835,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28592,
    "c": 0.13054,
    "h": 279.3
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#221968
secondary
#939E3F
accent
#E443D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221968

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

Preview Lab → · Contrast checker → · Palette generator →

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