#222675#222675

#222675 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.133 H 273.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#222675
RGBrgb(34, 38, 117)
HSLhsl(237, 55%, 30%)
HSVhsv(237, 71%, 46%)
CMYKcmyk(70.9%, 67.5%, 0%, 54.1%)
CIE-LABlab(20.08, 26.18, -45.83)
CIE-LCHlch(20.08, 52.78, 299.74°)
OKLaboklab(32.17% 0.0091 -0.1323)
OKLCHoklch(32.17% 0.133 273.9)
XYZxyz(4.5626, 3.0102, 17.1668)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222675 #757122
analogous
#225075 #222675 #472275
triadic
#222675 #752226 #267522
tetradic
#222675 #752250 #757122 #227547
square
#222675 #752250 #757122 #227547
split-complementary
#222675 #754722 #507522
monochromatic
#070818 #141746 #222675 #3035A4 #484ECA

Accessibility & contrast

On white

13.11
#222675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#222675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222675
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222675#FFFFFF#000000##FFFFFF
##2226751.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222675;
/* rgb */ color: rgb(34, 38, 117);
/* oklch */ color: oklch(32.2% 0.133 273.9);
Tailwind
colors: {
  custom: {
    50: '#69609e',
    500: '#222675',
    950: '#000000',
  },
}
SCSS
$custom: #222675;
$custom-light: #69609e;
$custom-dark: #000000;
JSON
{
  "hex": "#222675",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 237.108,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32174,
    "c": 0.1326,
    "h": 273.9
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#222675
secondary
#A8A44B
accent
#D749DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222675

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

Preview Lab → · Contrast checker → · Palette generator →

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