#221674#221674

#221674 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.150 H 277.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#221674
RGBrgb(34, 22, 116)
HSLhsl(248, 68%, 27%)
HSVhsv(248, 81%, 45%)
CMYKcmyk(70.7%, 81%, 0%, 54.5%)
CIE-LABlab(16.38, 35.77, -51.28)
CIE-LCHlch(16.38, 62.52, 304.89°)
OKLaboklab(29.49% 0.0201 -0.1482)
OKLCHoklch(29.49% 0.15 277.7)
XYZxyz(4.0980, 2.1745, 16.7234)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221674 #687416
analogous
#163974 #221674 #511674
triadic
#221674 #742216 #167422
tetradic
#221674 #741639 #687416 #167451
square
#221674 #741639 #687416 #167451
split-complementary
#221674 #745116 #397416
monochromatic
#08051A #130C41 #221674 #3120A7 #432DD7

Accessibility & contrast

On white

14.63
#221674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221674
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221674#FFFFFF#000000##FFFFFF
##2216741.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221674;
/* rgb */ color: rgb(34, 22, 116);
/* oklch */ color: oklch(29.5% 0.150 277.7);
Tailwind
colors: {
  custom: {
    50: '#6b569d',
    500: '#221674',
    950: '#000000',
  },
}
SCSS
$custom: #221674;
$custom-light: #6b569d;
$custom-dark: #000000;
JSON
{
  "hex": "#221674",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 247.66,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.2949,
    "c": 0.14953,
    "h": 277.7
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #221674

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

Preview Lab → · Contrast checker → · Palette generator →

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