#22498B#22498B

#22498B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.119 H 260.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#22498B
RGBrgb(34, 73, 139)
HSLhsl(218, 61%, 34%)
HSVhsv(218, 76%, 55%)
CMYKcmyk(75.5%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.73, 10.60, -40.75)
CIE-LCHlch(31.73, 42.11, 284.58°)
OKLaboklab(41.49% -0.0201 -0.1168)
OKLCHoklch(41.49% 0.119 260.2)
XYZxyz(7.7007, 6.9684, 25.3603)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22498B #8B6422
analogous
#227E8B #22498B #2F228B
triadic
#22498B #8B2249 #498B22
tetradic
#22498B #8B227E #8B6422 #228B2F
square
#22498B #8B227E #8B6422 #228B2F
split-complementary
#22498B #8B2F22 #7E8B22
monochromatic
#0A1529 #162F5A #22498B #2E63BC #5383D5

Accessibility & contrast

On white

8.77
#22498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#22498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22498B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22498B#FFFFFF#000000##FFFFFF
##22498B1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508D
Deuteranopia (green-blind)
#0E468A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #22498b;
/* rgb */ color: rgb(34, 73, 139);
/* oklch */ color: oklch(41.5% 0.119 260.2);
Tailwind
colors: {
  custom: {
    50: '#6c7bad',
    500: '#22498b',
    950: '#000000',
  },
}
SCSS
$custom: #22498b;
$custom-light: #6c7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#22498b",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 217.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.11855,
    "h": 260.2
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#22498B
secondary
#B89250
accent
#A844E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #22498B

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

Preview Lab → · Contrast checker → · Palette generator →

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