#22298D#22298D

#22298D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.162 H 271.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#22298D
RGBrgb(34, 41, 141)
HSLhsl(236, 61%, 34%)
HSVhsv(236, 76%, 55%)
CMYKcmyk(75.9%, 70.9%, 0%, 44.7%)
CIE-LABlab(23.16, 33.10, -55.93)
CIE-LCHlch(23.16, 64.99, 300.62°)
OKLaboklab(35.13% 0.0045 -0.1618)
OKLCHoklch(35.13% 0.162 271.6)
XYZxyz(6.2587, 3.8484, 25.6071)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22298D #8D8622
analogous
#225F8D #22298D #51228D
triadic
#22298D #8D2229 #298D22
tetradic
#22298D #8D225F #8D8622 #228D51
square
#22298D #8D225F #8D8622 #228D51
split-complementary
#22298D #8D5122 #5F8D22
monochromatic
#0A0C2A #161B5C #22298D #2E37BE #545CD6

Accessibility & contrast

On white

11.87
#22298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#22298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22298D
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22298D#FFFFFF#000000##FFFFFF
##22298D1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22298d;
/* rgb */ color: rgb(34, 41, 141);
/* oklch */ color: oklch(35.1% 0.162 271.6);
Tailwind
colors: {
  custom: {
    50: '#6f63af',
    500: '#22298d',
    950: '#000000',
  },
}
SCSS
$custom: #22298d;
$custom-light: #6f63af;
$custom-dark: #000000;
JSON
{
  "hex": "#22298d",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 236.075,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35125,
    "c": 0.16187,
    "h": 271.6
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#22298D
secondary
#B9B351
accent
#DA44E4
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #22298D

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

Preview Lab → · Contrast checker → · Palette generator →

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