#22479B#22479B

#22479B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.144 H 263.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#22479B
RGBrgb(34, 71, 155)
HSLhsl(222, 64%, 37%)
HSVhsv(222, 78%, 61%)
CMYKcmyk(78.1%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.28, 18.30, -49.63)
CIE-LCHlch(32.28, 52.89, 290.25°)
OKLaboklab(42.27% -0.0162 -0.143)
OKLCHoklch(42.27% 0.144 263.5)
XYZxyz(8.8272, 7.2121, 31.9308)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22479B #9B7622
analogous
#22849B #22479B #3A229B
triadic
#22479B #9B2247 #479B22
tetradic
#22479B #9B2284 #9B7622 #229B3A
square
#22479B #9B2284 #9B7622 #229B3A
split-complementary
#22479B #9B3A22 #849B22
monochromatic
#0C1937 #173069 #22479B #2D5ECD #5C83DB

Accessibility & contrast

On white

8.60
#22479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22479B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22479B#FFFFFF#000000##FFFFFF
##22479B1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22479b;
/* rgb */ color: rgb(34, 71, 155);
/* oklch */ color: oklch(42.3% 0.144 263.5);
Tailwind
colors: {
  custom: {
    50: '#7079b9',
    500: '#22479b',
    950: '#000000',
  },
}
SCSS
$custom: #22479b;
$custom-light: #7079b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22479b",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 221.653,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.1439,
    "h": 263.5
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22479B

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

Preview Lab → · Contrast checker → · Palette generator →

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