#22489F#22489F

#22489F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.148 H 263.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#22489F
RGBrgb(34, 72, 159)
HSLhsl(222, 65%, 38%)
HSVhsv(222, 79%, 62%)
CMYKcmyk(78.6%, 54.7%, 0%, 37.6%)
CIE-LABlab(32.87, 19.20, -51.10)
CIE-LCHlch(32.87, 54.59, 290.60°)
OKLaboklab(42.81% -0.0166 -0.1473)
OKLCHoklch(42.81% 0.148 263.6)
XYZxyz(9.2328, 7.4770, 33.7508)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22489F #9F7922
analogous
#22869F #22489F #3A229F
triadic
#22489F #9F2248 #489F22
tetradic
#22489F #9F2286 #9F7922 #229F3A
square
#22489F #9F2286 #9F7922 #229F3A
split-complementary
#22489F #9F3A22 #869F22
monochromatic
#0C1A3A #17316D #22489F #2D5FD1 #5F85DD

Accessibility & contrast

On white

8.41
#22489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#22489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22489F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22489F#FFFFFF#000000##FFFFFF
##22489F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22489f;
/* rgb */ color: rgb(34, 72, 159);
/* oklch */ color: oklch(42.8% 0.148 263.6);
Tailwind
colors: {
  custom: {
    50: '#717abc',
    500: '#22489f',
    950: '#000000',
  },
}
SCSS
$custom: #22489f;
$custom-light: #717abc;
$custom-dark: #000000;
JSON
{
  "hex": "#22489f",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 221.76,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.14823,
    "h": 263.6
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22489F

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

Preview Lab → · Contrast checker → · Palette generator →

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