#221672#221672

#221672 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.147 H 278.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#221672
RGBrgb(34, 22, 114)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 45%)
CMYKcmyk(70.2%, 80.7%, 0%, 55.3%)
CIE-LABlab(16.15, 35.10, -50.37)
CIE-LCHlch(16.15, 61.39, 304.87°)
OKLaboklab(29.26% 0.0207 -0.1455)
OKLCHoklch(29.26% 0.147 278.1)
XYZxyz(3.9829, 2.1285, 16.1173)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221672 #667216
analogous
#163872 #221672 #501672
triadic
#221672 #722216 #167222
tetradic
#221672 #721638 #667216 #167250
square
#221672 #721638 #667216 #167250
split-complementary
#221672 #725016 #387216
monochromatic
#08051A #130C3F #221672 #3120A5 #422CD6

Accessibility & contrast

On white

14.73
#221672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#221672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221672
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221672#FFFFFF#000000##FFFFFF
##2216721.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221672;
/* rgb */ color: rgb(34, 22, 114);
/* oklch */ color: oklch(29.3% 0.147 278.1);
Tailwind
colors: {
  custom: {
    50: '#6a569c',
    500: '#221672',
    950: '#000000',
  },
}
SCSS
$custom: #221672;
$custom-light: #6a569c;
$custom-dark: #000000;
JSON
{
  "hex": "#221672",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 247.826,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29261,
    "c": 0.14697,
    "h": 278.1
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#221672
secondary
#9AA83C
accent
#EB3DD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221672

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

Preview Lab → · Contrast checker → · Palette generator →

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