#22498E#22498E

#22498E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.7% C 0.123 H 260.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#22498E
RGBrgb(34, 73, 142)
HSLhsl(218, 61%, 35%)
HSVhsv(218, 76%, 56%)
CMYKcmyk(76.1%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.94, 11.79, -42.27)
CIE-LCHlch(31.94, 43.88, 285.59°)
OKLaboklab(41.71% -0.0196 -0.1213)
OKLCHoklch(41.71% 0.123 260.8)
XYZxyz(7.9230, 7.0573, 26.5306)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22498E #8E6722
analogous
#227F8E #22498E #31228E
triadic
#22498E #8E2249 #498E22
tetradic
#22498E #8E227F #8E6722 #228E31
square
#22498E #8E227F #8E6722 #228E31
split-complementary
#22498E #8E3122 #7F8E22
monochromatic
#0A162B #16305D #22498E #2E62BF #5483D6

Accessibility & contrast

On white

8.71
#22498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22498E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22498E#FFFFFF#000000##FFFFFF
##22498E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#05468D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #22498e;
/* rgb */ color: rgb(34, 73, 142);
/* oklch */ color: oklch(41.7% 0.123 260.8);
Tailwind
colors: {
  custom: {
    50: '#6d7baf',
    500: '#22498e',
    950: '#000000',
  },
}
SCSS
$custom: #22498e;
$custom-light: #6d7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#22498e",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 218.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.12287,
    "h": 260.8
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#22498E
secondary
#BA9452
accent
#AA43E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #22498E

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

Preview Lab → · Contrast checker → · Palette generator →

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