#22498C#22498C

#22498C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.120 H 260.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#22498C
RGBrgb(34, 73, 140)
HSLhsl(218, 61%, 34%)
HSVhsv(218, 76%, 55%)
CMYKcmyk(75.7%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.80, 11.00, -41.26)
CIE-LCHlch(31.80, 42.70, 284.93°)
OKLaboklab(41.56% -0.0199 -0.1183)
OKLCHoklch(41.56% 0.12 260.4)
XYZxyz(7.7741, 6.9978, 25.7468)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22498C #8C6522
analogous
#227E8C #22498C #30228C
triadic
#22498C #8C2249 #498C22
tetradic
#22498C #8C227E #8C6522 #228C30
square
#22498C #8C227E #8C6522 #228C30
split-complementary
#22498C #8C3022 #7E8C22
monochromatic
#0A162A #162F5B #22498C #2E63BD #5383D5

Accessibility & contrast

On white

8.75
#22498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#22498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22498C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22498C#FFFFFF#000000##FFFFFF
##22498C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #22498c;
/* rgb */ color: rgb(34, 73, 140);
/* oklch */ color: oklch(41.6% 0.120 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c7bae',
    500: '#22498c',
    950: '#000000',
  },
}
SCSS
$custom: #22498c;
$custom-light: #6c7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#22498c",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 217.925,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.11999,
    "h": 260.4
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#22498C
secondary
#B99351
accent
#A944E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22498C

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

Preview Lab → · Contrast checker → · Palette generator →

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