#221673#221673

#221673 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.148 H 277.9°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#221673
RGBrgb(34, 22, 115)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 45%)
CMYKcmyk(70.4%, 80.9%, 0%, 54.9%)
CIE-LABlab(16.26, 35.43, -50.83)
CIE-LCHlch(16.26, 61.96, 304.88°)
OKLaboklab(29.38% 0.0204 -0.1468)
OKLCHoklch(29.38% 0.148 277.9)
XYZxyz(4.0401, 2.1514, 16.4187)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221673 #677316
analogous
#163973 #221673 #511673
triadic
#221673 #732216 #167322
tetradic
#221673 #731639 #677316 #167351
square
#221673 #731639 #677316 #167351
split-complementary
#221673 #735116 #397316
monochromatic
#08051A #130C40 #221673 #3120A6 #432DD7

Accessibility & contrast

On white

14.68
#221673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221673
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221673#FFFFFF#000000##FFFFFF
##2216731.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221673;
/* rgb */ color: rgb(34, 22, 115);
/* oklch */ color: oklch(29.4% 0.148 277.9);
Tailwind
colors: {
  custom: {
    50: '#6a569c',
    500: '#221673',
    950: '#000000',
  },
}
SCSS
$custom: #221673;
$custom-light: #6a569c;
$custom-dark: #000000;
JSON
{
  "hex": "#221673",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 247.742,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.14825,
    "h": 277.9
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #221673

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

Preview Lab → · Contrast checker → · Palette generator →

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