#22479D#22479D

#22479D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.147 H 263.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#22479D
RGBrgb(34, 71, 157)
HSLhsl(222, 64%, 37%)
HSVhsv(222, 78%, 62%)
CMYKcmyk(78.3%, 54.8%, 0%, 38.4%)
CIE-LABlab(32.44, 19.09, -50.59)
CIE-LCHlch(32.44, 54.07, 290.68°)
OKLaboklab(42.43% -0.016 -0.1458)
OKLCHoklch(42.43% 0.147 263.7)
XYZxyz(8.9966, 7.2799, 32.8228)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22479D #9D7822
analogous
#22859D #22479D #3A229D
triadic
#22479D #9D2247 #479D22
tetradic
#22479D #9D2285 #9D7822 #229D3A
square
#22479D #9D2285 #9D7822 #229D3A
split-complementary
#22479D #9D3A22 #859D22
monochromatic
#0C1A38 #17306B #22479D #2D5ECF #5D83DC

Accessibility & contrast

On white

8.55
#22479D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#22479D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22479D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22479D#FFFFFF#000000##FFFFFF
##22479D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22479d;
/* rgb */ color: rgb(34, 71, 157);
/* oklch */ color: oklch(42.4% 0.147 263.7);
Tailwind
colors: {
  custom: {
    50: '#7179bb',
    500: '#22479d',
    950: '#000000',
  },
}
SCSS
$custom: #22479d;
$custom-light: #7179bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22479d",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 221.951,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.14671,
    "h": 263.7
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#22479D
secondary
#C1A25A
accent
#B540E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #22479D

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

Preview Lab → · Contrast checker → · Palette generator →

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