#221670#221670

#221670 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 278.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#221670
RGBrgb(34, 22, 112)
HSLhsl(248, 67%, 26%)
HSVhsv(248, 80%, 44%)
CMYKcmyk(69.6%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.92, 34.44, -49.45)
CIE-LCHlch(15.92, 60.26, 304.85°)
OKLaboklab(29.03% 0.0213 -0.1428)
OKLCHoklch(29.03% 0.144 278.5)
XYZxyz(3.8703, 2.0834, 15.5243)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221670 #647016
analogous
#163770 #221670 #4F1670
triadic
#221670 #702216 #167022
tetradic
#221670 #701637 #647016 #16704F
square
#221670 #701637 #647016 #16704F
split-complementary
#221670 #704F16 #377016
monochromatic
#08051A #120C3D #221670 #3220A3 #422BD5

Accessibility & contrast

On white

14.82
#221670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#221670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221670
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221670#FFFFFF#000000##FFFFFF
##2216701.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221670;
/* rgb */ color: rgb(34, 22, 112);
/* oklch */ color: oklch(29.0% 0.144 278.5);
Tailwind
colors: {
  custom: {
    50: '#6a559a',
    500: '#221670',
    950: '#000000',
  },
}
SCSS
$custom: #221670;
$custom-light: #6a559a;
$custom-dark: #000000;
JSON
{
  "hex": "#221670",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 248,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.1444,
    "h": 278.5
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#221670
secondary
#98A63C
accent
#EA3ED3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221670

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

Preview Lab → · Contrast checker → · Palette generator →

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