#221767#221767

#221767 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.132 H 280.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#221767
RGBrgb(34, 23, 103)
HSLhsl(248, 63%, 25%)
HSVhsv(248, 78%, 40%)
CMYKcmyk(67%, 77.7%, 0%, 59.6%)
CIE-LABlab(15.13, 30.80, -44.87)
CIE-LCHlch(15.13, 54.43, 304.47°)
OKLaboklab(28.18% 0.0229 -0.1295)
OKLCHoklch(28.18% 0.132 280)
XYZxyz(3.4135, 1.9319, 13.0223)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221767 #5C6717
analogous
#173467 #221767 #4A1767
triadic
#221767 #672217 #176722
tetradic
#221767 #671734 #5C6717 #17674A
square
#221767 #671734 #5C6717 #17674A
split-complementary
#221767 #674A17 #346717
monochromatic
#080619 #110C35 #221767 #332299 #432DCB

Accessibility & contrast

On white

15.15
#221767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#221767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221767
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221767#FFFFFF#000000##FFFFFF
##2217671.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #221767;
/* rgb */ color: rgb(34, 23, 103);
/* oklch */ color: oklch(28.2% 0.132 280.0);
Tailwind
colors: {
  custom: {
    50: '#675693',
    500: '#221767',
    950: '#000000',
  },
}
SCSS
$custom: #221767;
$custom-light: #675693;
$custom-dark: #000000;
JSON
{
  "hex": "#221767",
  "rgb": {
    "r": 34,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 248.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28175,
    "c": 0.1315,
    "h": 280
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#221767
secondary
#909D3D
accent
#E741D0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221767

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

Preview Lab → · Contrast checker → · Palette generator →

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