#22499E#22499E

#22499E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.146 H 263.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#22499E
RGBrgb(34, 73, 158)
HSLhsl(221, 65%, 38%)
HSVhsv(221, 78%, 62%)
CMYKcmyk(78.5%, 53.8%, 0%, 38%)
CIE-LABlab(33.08, 18.13, -50.16)
CIE-LCHlch(33.08, 53.33, 289.87°)
OKLaboklab(42.94% -0.0174 -0.1445)
OKLCHoklch(42.94% 0.146 263.1)
XYZxyz(9.2116, 7.5727, 33.3173)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22499E #9E7722
analogous
#22879E #22499E #39229E
triadic
#22499E #9E2249 #499E22
tetradic
#22499E #9E2287 #9E7722 #229E39
square
#22499E #9E2287 #9E7722 #229E39
split-complementary
#22499E #9E3922 #879E22
monochromatic
#0C1A39 #17326C #22499E #2D60D0 #5E86DC

Accessibility & contrast

On white

8.35
#22499E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#22499E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22499E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22499E#FFFFFF#000000##FFFFFF
##22499E1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #22499e;
/* rgb */ color: rgb(34, 73, 158);
/* oklch */ color: oklch(42.9% 0.146 263.1);
Tailwind
colors: {
  custom: {
    50: '#717bbb',
    500: '#22499e',
    950: '#000000',
  },
}
SCSS
$custom: #22499e;
$custom-light: #717bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#22499e",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 221.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.14556,
    "h": 263.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#22499E
secondary
#C1A15B
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #22499E

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

Preview Lab → · Contrast checker → · Palette generator →

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