#222575#222575

#222575 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.134 H 274.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#222575
RGBrgb(34, 37, 117)
HSLhsl(238, 55%, 30%)
HSVhsv(238, 71%, 46%)
CMYKcmyk(70.9%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.83, 26.85, -46.25)
CIE-LCHlch(19.83, 53.48, 300.14°)
OKLaboklab(31.99% 0.0099 -0.1335)
OKLCHoklch(31.99% 0.134 274.2)
XYZxyz(4.5311, 2.9472, 17.1562)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222575 #757222
analogous
#224F75 #222575 #482275
triadic
#222575 #752225 #257522
tetradic
#222575 #75224F #757222 #227548
square
#222575 #75224F #757222 #227548
split-complementary
#222575 #754822 #4F7522
monochromatic
#070718 #141646 #222575 #3034A4 #484CCA

Accessibility & contrast

On white

13.21
#222575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#222575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222575
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222575#FFFFFF#000000##FFFFFF
##2225751.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222575;
/* rgb */ color: rgb(34, 37, 117);
/* oklch */ color: oklch(32.0% 0.134 274.2);
Tailwind
colors: {
  custom: {
    50: '#695f9e',
    500: '#222575',
    950: '#000000',
  },
}
SCSS
$custom: #222575;
$custom-light: #695f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#222575",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 237.831,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.13387,
    "h": 274.2
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#222575
secondary
#A8A54B
accent
#D949DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222575

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

Preview Lab → · Contrast checker → · Palette generator →

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