#22498F#22498F

#22498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.124 H 261.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#22498F
RGBrgb(34, 73, 143)
HSLhsl(219, 62%, 35%)
HSVhsv(219, 76%, 56%)
CMYKcmyk(76.2%, 49%, 0%, 43.9%)
CIE-LABlab(32.01, 12.19, -42.77)
CIE-LCHlch(32.01, 44.47, 285.91°)
OKLaboklab(41.78% -0.0194 -0.1228)
OKLCHoklch(41.78% 0.124 261)
XYZxyz(7.9984, 7.0874, 26.9278)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22498F #8F6822
analogous
#22808F #22498F #31228F
triadic
#22498F #8F2249 #498F22
tetradic
#22498F #8F2280 #8F6822 #228F31
square
#22498F #8F2280 #8F6822 #228F31
split-complementary
#22498F #8F3122 #808F22
monochromatic
#0A172C #16305E #22498F #2E62C0 #5583D7

Accessibility & contrast

On white

8.69
#22498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#22498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22498F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22498F#FFFFFF#000000##FFFFFF
##22498F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #22498f;
/* rgb */ color: rgb(34, 73, 143);
/* oklch */ color: oklch(41.8% 0.124 261.0);
Tailwind
colors: {
  custom: {
    50: '#6d7bb0',
    500: '#22498f',
    950: '#000000',
  },
}
SCSS
$custom: #22498f;
$custom-light: #6d7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#22498f",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 218.532,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.1243,
    "h": 261
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#22498F
secondary
#BA9552
accent
#AB43E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22498F

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

Preview Lab → · Contrast checker → · Palette generator →

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