#22498A#22498A

#22498A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.117 H 260.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#22498A
RGBrgb(34, 73, 138)
HSLhsl(218, 60%, 34%)
HSVhsv(218, 75%, 54%)
CMYKcmyk(75.4%, 47.1%, 0%, 45.9%)
CIE-LABlab(31.67, 10.21, -40.24)
CIE-LCHlch(31.67, 41.52, 284.23°)
OKLaboklab(41.42% -0.0203 -0.1153)
OKLCHoklch(41.42% 0.117 260)
XYZxyz(7.6280, 6.9393, 24.9772)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22498A #8A6322
analogous
#227D8A #22498A #2F228A
triadic
#22498A #8A2249 #498A22
tetradic
#22498A #8A227D #8A6322 #228A2F
square
#22498A #8A227D #8A6322 #228A2F
split-complementary
#22498A #8A2F22 #7D8A22
monochromatic
#0A1528 #162F59 #22498A #2E63BB #5283D4

Accessibility & contrast

On white

8.79
#22498A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22498A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22498A#FFFFFF#000000##FFFFFF
##22498A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508C
Deuteranopia (green-blind)
#104689
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #22498a;
/* rgb */ color: rgb(34, 73, 138);
/* oklch */ color: oklch(41.4% 0.117 260.0);
Tailwind
colors: {
  custom: {
    50: '#6c7bac',
    500: '#22498a',
    950: '#000000',
  },
}
SCSS
$custom: #22498a;
$custom-light: #6c7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#22498a",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 217.5,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.11712,
    "h": 260
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22498A

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

Preview Lab → · Contrast checker → · Palette generator →

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