#221975#221975

#221975 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.148 H 277.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#221975
RGBrgb(34, 25, 117)
HSLhsl(246, 65%, 28%)
HSVhsv(246, 79%, 46%)
CMYKcmyk(70.9%, 78.6%, 0%, 54.1%)
CIE-LABlab(17.08, 34.42, -50.77)
CIE-LCHlch(17.08, 61.34, 304.14°)
OKLaboklab(30.02% 0.0182 -0.1467)
OKLCHoklch(30.02% 0.148 277.1)
XYZxyz(4.2172, 2.3193, 17.0516)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221975 #6C7519
analogous
#193E75 #221975 #501975
triadic
#221975 #752219 #197522
tetradic
#221975 #75193E #6C7519 #197550
square
#221975 #75193E #6C7519 #197550
split-complementary
#221975 #755019 #3E7519
monochromatic
#070519 #130E43 #221975 #3124A7 #4435D4

Accessibility & contrast

On white

14.34
#221975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#221975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221975
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221975#FFFFFF#000000##FFFFFF
##2219751.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221975;
/* rgb */ color: rgb(34, 25, 117);
/* oklch */ color: oklch(30.0% 0.148 277.1);
Tailwind
colors: {
  custom: {
    50: '#6b589e',
    500: '#221975',
    950: '#000000',
  },
}
SCSS
$custom: #221975;
$custom-light: #6b589e;
$custom-dark: #000000;
JSON
{
  "hex": "#221975",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 245.87,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30017,
    "c": 0.14781,
    "h": 277.1
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#221975
secondary
#A0AA40
accent
#E840D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221975

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

Preview Lab → · Contrast checker → · Palette generator →

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