#22489E#22489E

#22489E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.147 H 263.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#22489E
RGBrgb(34, 72, 158)
HSLhsl(222, 65%, 38%)
HSVhsv(222, 78%, 62%)
CMYKcmyk(78.5%, 54.4%, 0%, 38%)
CIE-LABlab(32.79, 18.81, -50.62)
CIE-LCHlch(32.79, 54.00, 290.38°)
OKLaboklab(42.73% -0.0167 -0.1459)
OKLCHoklch(42.73% 0.147 263.5)
XYZxyz(9.1464, 7.4424, 33.2956)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22489E #9E7822
analogous
#22869E #22489E #3A229E
triadic
#22489E #9E2248 #489E22
tetradic
#22489E #9E2286 #9E7822 #229E3A
square
#22489E #9E2286 #9E7822 #229E3A
split-complementary
#22489E #9E3A22 #869E22
monochromatic
#0C1A39 #17316C #22489E #2D5FD0 #5E85DC

Accessibility & contrast

On white

8.44
#22489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#22489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22489E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22489E#FFFFFF#000000##FFFFFF
##22489E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0253A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #22489e;
/* rgb */ color: rgb(34, 72, 158);
/* oklch */ color: oklch(42.7% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#717abb',
    500: '#22489e',
    950: '#000000',
  },
}
SCSS
$custom: #22489e;
$custom-light: #717abb;
$custom-dark: #000000;
JSON
{
  "hex": "#22489e",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 221.613,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.14683,
    "h": 263.5
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#22489E
secondary
#C1A25B
accent
#B440E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #22489E

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

Preview Lab → · Contrast checker → · Palette generator →

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