#221875#221875

#221875 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.149 H 277.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#221875
RGBrgb(34, 24, 117)
HSLhsl(246, 66%, 28%)
HSVhsv(246, 79%, 46%)
CMYKcmyk(70.9%, 79.5%, 0%, 54.1%)
CIE-LABlab(16.88, 34.99, -51.10)
CIE-LCHlch(16.88, 61.93, 304.40°)
OKLaboklab(29.88% 0.0187 -0.1476)
OKLCHoklch(29.88% 0.149 277.2)
XYZxyz(4.1962, 2.2773, 17.0446)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221875 #6B7518
analogous
#183C75 #221875 #511875
triadic
#221875 #752218 #187522
tetradic
#221875 #75183C #6B7518 #187551
square
#221875 #75183C #6B7518 #187551
split-complementary
#221875 #755118 #3C7518
monochromatic
#070519 #130E42 #221875 #3122A8 #4432D5

Accessibility & contrast

On white

14.43
#221875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221875
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221875#FFFFFF#000000##FFFFFF
##2218751.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221875;
/* rgb */ color: rgb(34, 24, 117);
/* oklch */ color: oklch(29.9% 0.149 277.2);
Tailwind
colors: {
  custom: {
    50: '#6b579e',
    500: '#221875',
    950: '#000000',
  },
}
SCSS
$custom: #221875;
$custom-light: #6b579e;
$custom-dark: #000000;
JSON
{
  "hex": "#221875",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 246.452,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29876,
    "c": 0.14883,
    "h": 277.2
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#221875
secondary
#9FAA3F
accent
#E93FD7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221875

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

Preview Lab → · Contrast checker → · Palette generator →

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