#221959#221959

#221959 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.110 H 282.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#221959
RGBrgb(34, 25, 89)
HSLhsl(248, 56%, 22%)
HSVhsv(248, 72%, 35%)
CMYKcmyk(61.8%, 71.9%, 0%, 65.1%)
CIE-LABlab(14.15, 24.63, -37.15)
CIE-LCHlch(14.15, 44.58, 303.55°)
OKLaboklab(27.04% 0.024 -0.1069)
OKLCHoklch(27.04% 0.11 282.6)
XYZxyz(2.8099, 1.7564, 9.6402)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221959 #505919
analogous
#193059 #221959 #421959
triadic
#221959 #592219 #195922
tetradic
#221959 #591930 #505919 #195942
square
#221959 #591930 #505919 #195942
split-complementary
#221959 #594219 #305919
monochromatic
#090718 #100C29 #221959 #342689 #4734B9

Accessibility & contrast

On white

15.54
#221959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#221959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221959
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221959#FFFFFF#000000##FFFFFF
##2219591.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#052936
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221959;
/* rgb */ color: rgb(34, 25, 89);
/* oklch */ color: oklch(27.0% 0.110 282.6);
Tailwind
colors: {
  custom: {
    50: '#645689',
    500: '#221959',
    950: '#000000',
  },
}
SCSS
$custom: #221959;
$custom-light: #645689;
$custom-dark: #000000;
JSON
{
  "hex": "#221959",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 248.438,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27043,
    "c": 0.10953,
    "h": 282.6
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#221959
secondary
#848F3E
accent
#DF48CA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #221959

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

Preview Lab → · Contrast checker → · Palette generator →

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