#222676#222676

#222676 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.134 H 273.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#222676
RGBrgb(34, 38, 118)
HSLhsl(237, 55%, 30%)
HSVhsv(237, 71%, 46%)
CMYKcmyk(71.2%, 67.8%, 0%, 53.7%)
CIE-LABlab(20.18, 26.55, -46.32)
CIE-LCHlch(20.18, 53.39, 299.83°)
OKLaboklab(32.27% 0.009 -0.1337)
OKLCHoklch(32.27% 0.134 273.8)
XYZxyz(4.6217, 3.0339, 17.4781)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222676 #767222
analogous
#225076 #222676 #482276
triadic
#222676 #762226 #267622
tetradic
#222676 #762250 #767222 #227648
square
#222676 #762250 #767222 #227648
split-complementary
#222676 #764822 #507622
monochromatic
#070818 #141746 #222676 #3035A6 #484ECA

Accessibility & contrast

On white

13.07
#222676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222676
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222676#FFFFFF#000000##FFFFFF
##2226761.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222676;
/* rgb */ color: rgb(34, 38, 118);
/* oklch */ color: oklch(32.3% 0.134 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a609e',
    500: '#222676',
    950: '#000000',
  },
}
SCSS
$custom: #222676;
$custom-light: #6a609e;
$custom-dark: #000000;
JSON
{
  "hex": "#222676",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 237.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.13402,
    "h": 273.8
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#222676
secondary
#A9A54B
accent
#D749DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222676

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

Preview Lab → · Contrast checker → · Palette generator →

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