#221775#221775

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

Color values

HEX#221775
RGBrgb(34, 23, 117)
HSLhsl(247, 67%, 27%)
HSVhsv(247, 80%, 46%)
CMYKcmyk(70.9%, 80.3%, 0%, 54.1%)
CIE-LABlab(16.68, 35.55, -51.42)
CIE-LCHlch(16.68, 62.51, 304.66°)
OKLaboklab(29.74% 0.0193 -0.1486)
OKLCHoklch(29.74% 0.15 277.4)
XYZxyz(4.1759, 2.2369, 17.0379)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221775 #6A7517
analogous
#173B75 #221775 #511775
triadic
#221775 #752217 #177522
tetradic
#221775 #75173B #6A7517 #177551
square
#221775 #75173B #6A7517 #177551
split-complementary
#221775 #755117 #3B7517
monochromatic
#07051A #130D42 #221775 #3121A8 #4430D6

Accessibility & contrast

On white

14.51
#221775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#221775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221775
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221775#FFFFFF#000000##FFFFFF
##2217751.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221775;
/* rgb */ color: rgb(34, 23, 117);
/* oklch */ color: oklch(29.7% 0.150 277.4);
Tailwind
colors: {
  custom: {
    50: '#6b569e',
    500: '#221775',
    950: '#000000',
  },
}
SCSS
$custom: #221775;
$custom-light: #6b569e;
$custom-dark: #000000;
JSON
{
  "hex": "#221775",
  "rgb": {
    "r": 34,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 247.021,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.14983,
    "h": 277.4
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#221775
secondary
#9EAA3D
accent
#EA3ED6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221775

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

Preview Lab → · Contrast checker → · Palette generator →

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