#22478F#22478F

#22478F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.127 H 262.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#22478F
RGBrgb(34, 71, 143)
HSLhsl(220, 62%, 35%)
HSVhsv(220, 76%, 56%)
CMYKcmyk(76.2%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.41, 13.55, -43.72)
CIE-LCHlch(31.41, 45.77, 287.22°)
OKLaboklab(41.33% -0.0176 -0.1256)
OKLCHoklch(41.33% 0.127 262)
XYZxyz(7.8691, 6.8289, 26.8847)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22478F #8F6A22
analogous
#227E8F #22478F #34228F
triadic
#22478F #8F2247 #478F22
tetradic
#22478F #8F227E #8F6A22 #228F34
square
#22478F #8F227E #8F6A22 #228F34
split-complementary
#22478F #8F3422 #7E8F22
monochromatic
#0A162C #162E5E #22478F #2E60C0 #5581D7

Accessibility & contrast

On white

8.88
#22478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#22478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22478F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22478F#FFFFFF#000000##FFFFFF
##22478F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #22478f;
/* rgb */ color: rgb(34, 71, 143);
/* oklch */ color: oklch(41.3% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#6d79b0',
    500: '#22478f',
    950: '#000000',
  },
}
SCSS
$custom: #22478f;
$custom-light: #6d79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22478f",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 219.633,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.12685,
    "h": 262
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#22478F
secondary
#BA9752
accent
#AE43E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22478F

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

Preview Lab → · Contrast checker → · Palette generator →

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