#221675#221675

#221675 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.151 H 277.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#221675
RGBrgb(34, 22, 117)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 46%)
CMYKcmyk(70.9%, 81.2%, 0%, 54.1%)
CIE-LABlab(16.49, 36.10, -51.74)
CIE-LCHlch(16.49, 63.09, 304.90°)
OKLaboklab(29.6% 0.0199 -0.1495)
OKLCHoklch(29.6% 0.151 277.6)
XYZxyz(4.1564, 2.1979, 17.0314)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221675 #697516
analogous
#163A75 #221675 #521675
triadic
#221675 #752216 #167522
tetradic
#221675 #75163A #697516 #167552
square
#221675 #75163A #697516 #167552
split-complementary
#221675 #755216 #3A7516
monochromatic
#07051A #130C41 #221675 #3120A9 #432ED8

Accessibility & contrast

On white

14.59
#221675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#221675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221675
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221675#FFFFFF#000000##FFFFFF
##2216751.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221675;
/* rgb */ color: rgb(34, 22, 117);
/* oklch */ color: oklch(29.6% 0.151 277.6);
Tailwind
colors: {
  custom: {
    50: '#6b569e',
    500: '#221675',
    950: '#000000',
  },
}
SCSS
$custom: #221675;
$custom-light: #6b569e;
$custom-dark: #000000;
JSON
{
  "hex": "#221675",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 247.579,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29605,
    "c": 0.1508,
    "h": 277.6
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#221675
secondary
#9DAB3C
accent
#EB3DD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221675

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

Preview Lab → · Contrast checker → · Palette generator →

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