#22479A#22479A

#22479A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.142 H 263.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#22479A
RGBrgb(34, 71, 154)
HSLhsl(222, 64%, 37%)
HSVhsv(222, 78%, 60%)
CMYKcmyk(77.9%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.21, 17.91, -49.14)
CIE-LCHlch(32.21, 52.30, 290.02°)
OKLaboklab(42.19% -0.0163 -0.1416)
OKLCHoklch(42.19% 0.143 263.4)
XYZxyz(8.7436, 7.1787, 31.4904)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22479A #9A7522
analogous
#22839A #22479A #39229A
triadic
#22479A #9A2247 #479A22
tetradic
#22479A #9A2283 #9A7522 #229A39
square
#22479A #9A2283 #9A7522 #229A39
split-complementary
#22479A #9A3922 #839A22
monochromatic
#0C1936 #173068 #22479A #2D5ECC #5B83DB

Accessibility & contrast

On white

8.62
#22479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#22479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22479A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22479A#FFFFFF#000000##FFFFFF
##22479A1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08529D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22479a;
/* rgb */ color: rgb(34, 71, 154);
/* oklch */ color: oklch(42.2% 0.142 263.4);
Tailwind
colors: {
  custom: {
    50: '#7079b8',
    500: '#22479a',
    950: '#000000',
  },
}
SCSS
$custom: #22479a;
$custom-light: #7079b8;
$custom-dark: #000000;
JSON
{
  "hex": "#22479a",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 221.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42189,
    "c": 0.1425,
    "h": 263.4
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#22479A
secondary
#BFA058
accent
#B441E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #22479A

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

Preview Lab → · Contrast checker → · Palette generator →

#22479A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva