#22489C#22489C

#22489C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.144 H 263.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#22489C
RGBrgb(34, 72, 156)
HSLhsl(221, 64%, 37%)
HSVhsv(221, 78%, 61%)
CMYKcmyk(78.2%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.64, 18.02, -49.65)
CIE-LCHlch(32.64, 52.82, 289.95°)
OKLaboklab(42.57% -0.0169 -0.143)
OKLCHoklch(42.57% 0.144 263.3)
XYZxyz(8.9757, 7.3741, 32.3963)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22489C #9C7622
analogous
#22859C #22489C #39229C
triadic
#22489C #9C2248 #489C22
tetradic
#22489C #9C2285 #9C7622 #229C39
square
#22489C #9C2285 #9C7622 #229C39
split-complementary
#22489C #9C3922 #859C22
monochromatic
#0C1A38 #17316A #22489C #2D5FCE #5D84DC

Accessibility & contrast

On white

8.48
#22489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#22489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22489C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22489C#FFFFFF#000000##FFFFFF
##22489C1.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #22489c;
/* rgb */ color: rgb(34, 72, 156);
/* oklch */ color: oklch(42.6% 0.144 263.3);
Tailwind
colors: {
  custom: {
    50: '#707aba',
    500: '#22489c',
    950: '#000000',
  },
}
SCSS
$custom: #22489c;
$custom-light: #707aba;
$custom-dark: #000000;
JSON
{
  "hex": "#22489c",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 221.311,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.14403,
    "h": 263.3
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#22489C
secondary
#C0A05A
accent
#B341E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #22489C

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

Preview Lab → · Contrast checker → · Palette generator →

#22489C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva