#22478E#22478E

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

Color values

HEX#22478E
RGBrgb(34, 71, 142)
HSLhsl(219, 61%, 35%)
HSVhsv(219, 76%, 56%)
CMYKcmyk(76.1%, 50%, 0%, 44.3%)
CIE-LABlab(31.34, 13.15, -43.22)
CIE-LCHlch(31.34, 45.18, 286.93°)
OKLaboklab(41.25% -0.0178 -0.1241)
OKLCHoklch(41.25% 0.125 261.8)
XYZxyz(7.7937, 6.7987, 26.4875)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22478E #8E6922
analogous
#227D8E #22478E #33228E
triadic
#22478E #8E2247 #478E22
tetradic
#22478E #8E227D #8E6922 #228E33
square
#22478E #8E227D #8E6922 #228E33
split-complementary
#22478E #8E3322 #7D8E22
monochromatic
#0A162B #162E5D #22478E #2E60BF #5481D6

Accessibility & contrast

On white

8.90
#22478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#22478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22478E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22478E#FFFFFF#000000##FFFFFF
##22478E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #22478e;
/* rgb */ color: rgb(34, 71, 142);
/* oklch */ color: oklch(41.3% 0.125 261.8);
Tailwind
colors: {
  custom: {
    50: '#6d79b0',
    500: '#22478e',
    950: '#000000',
  },
}
SCSS
$custom: #22478e;
$custom-light: #6d79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22478e",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 219.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.12542,
    "h": 261.8
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#22478E
secondary
#BA9652
accent
#AD43E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22478E

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

Preview Lab → · Contrast checker → · Palette generator →

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