#222175#222175

#222175 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.139 H 275.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#222175
RGBrgb(34, 33, 117)
HSLhsl(241, 56%, 29%)
HSVhsv(241, 72%, 46%)
CMYKcmyk(70.9%, 71.8%, 0%, 54.1%)
CIE-LABlab(18.85, 29.50, -47.85)
CIE-LCHlch(18.85, 56.22, 301.65°)
OKLaboklab(31.28% 0.0129 -0.1382)
OKLCHoklch(31.28% 0.139 275.3)
XYZxyz(4.4134, 2.7117, 17.1170)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222175 #747521
analogous
#214A75 #222175 #4C2175
triadic
#222175 #752221 #217522
tetradic
#222175 #75214A #747521 #21754C
square
#222175 #75214A #747521 #21754C
split-complementary
#222175 #754C21 #4A7521
monochromatic
#070718 #141445 #222175 #302EA5 #4746CB

Accessibility & contrast

On white

13.62
#222175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#222175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222175
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222175#FFFFFF#000000##FFFFFF
##2221751.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222175;
/* rgb */ color: rgb(34, 33, 117);
/* oklch */ color: oklch(31.3% 0.139 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a5d9e',
    500: '#222175',
    950: '#000000',
  },
}
SCSS
$custom: #222175;
$custom-light: #6a5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222175",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 240.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31279,
    "c": 0.13883,
    "h": 275.3
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#222175
secondary
#A7A84A
accent
#DF49DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222175

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

Preview Lab → · Contrast checker → · Palette generator →

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