#22498D#22498D

#22498D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.121 H 260.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#22498D
RGBrgb(34, 73, 141)
HSLhsl(218, 61%, 34%)
HSVhsv(218, 76%, 55%)
CMYKcmyk(75.9%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.87, 11.39, -41.76)
CIE-LCHlch(31.87, 43.29, 285.26°)
OKLaboklab(41.63% -0.0197 -0.1198)
OKLCHoklch(41.63% 0.121 260.6)
XYZxyz(7.8482, 7.0274, 26.1369)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22498D #8D6622
analogous
#227F8D #22498D #31228D
triadic
#22498D #8D2249 #498D22
tetradic
#22498D #8D227F #8D6622 #228D31
square
#22498D #8D227F #8D6622 #228D31
split-complementary
#22498D #8D3122 #7F8D22
monochromatic
#0A162A #162F5C #22498D #2E63BE #5483D6

Accessibility & contrast

On white

8.73
#22498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#22498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22498D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22498D#FFFFFF#000000##FFFFFF
##22498D1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #22498d;
/* rgb */ color: rgb(34, 73, 141);
/* oklch */ color: oklch(41.6% 0.121 260.6);
Tailwind
colors: {
  custom: {
    50: '#6d7baf',
    500: '#22498d',
    950: '#000000',
  },
}
SCSS
$custom: #22498d;
$custom-light: #6d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#22498d",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 218.131,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.12144,
    "h": 260.6
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#22498D
secondary
#B99451
accent
#AA44E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22498D

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

Preview Lab → · Contrast checker → · Palette generator →

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