#22479F#22479F

#22479F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.149 H 263.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#22479F
RGBrgb(34, 71, 159)
HSLhsl(222, 65%, 38%)
HSVhsv(222, 79%, 62%)
CMYKcmyk(78.6%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.59, 19.88, -51.55)
CIE-LCHlch(32.59, 55.25, 291.09°)
OKLaboklab(42.59% -0.0158 -0.1487)
OKLCHoklch(42.59% 0.15 263.9)
XYZxyz(9.1687, 7.3487, 33.7294)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22479F #9F7A22
analogous
#22859F #22479F #3B229F
triadic
#22479F #9F2247 #479F22
tetradic
#22479F #9F2285 #9F7A22 #229F3B
square
#22479F #9F2285 #9F7A22 #229F3B
split-complementary
#22479F #9F3B22 #859F22
monochromatic
#0C1A3A #17306D #22479F #2D5ED1 #5F84DD

Accessibility & contrast

On white

8.50
#22479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#22479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22479F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22479F#FFFFFF#000000##FFFFFF
##22479F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #22479f;
/* rgb */ color: rgb(34, 71, 159);
/* oklch */ color: oklch(42.6% 0.149 263.9);
Tailwind
colors: {
  custom: {
    50: '#7179bc',
    500: '#22479f',
    950: '#000000',
  },
}
SCSS
$custom: #22479f;
$custom-light: #7179bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22479f",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 222.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.1495,
    "h": 263.9
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#22479F
secondary
#C1A35B
accent
#B640E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #22479F

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

Preview Lab → · Contrast checker → · Palette generator →

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