#22249F#22249F

#22249F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.190 H 271.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#22249F
RGBrgb(34, 36, 159)
HSLhsl(239, 65%, 38%)
HSVhsv(239, 79%, 62%)
CMYKcmyk(78.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.01, 42.43, -65.61)
CIE-LCHlch(24.01, 78.14, 302.89°)
OKLaboklab(36.31% 0.004 -0.19)
OKLCHoklch(36.31% 0.19 271.2)
XYZxyz(7.5465, 4.1042, 33.1886)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22249F #9F9D22
analogous
#22629F #22249F #5E229F
triadic
#22249F #9F2224 #249F22
tetradic
#22249F #9F2262 #9F9D22 #229F5E
square
#22249F #9F2262 #9F9D22 #229F5E
split-complementary
#22249F #9F5E22 #629F22
monochromatic
#0C0D3A #17196D #22249F #2D2FD1 #5F61DD

Accessibility & contrast

On white

11.53
#22249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#22249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22249F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22249F#FFFFFF#000000##FFFFFF
##22249F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22249f;
/* rgb */ color: rgb(34, 36, 159);
/* oklch */ color: oklch(36.3% 0.190 271.2);
Tailwind
colors: {
  custom: {
    50: '#7461bd',
    500: '#22249f',
    950: '#000000',
  },
}
SCSS
$custom: #22249f;
$custom-light: #7461bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22249f",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 239.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36305,
    "c": 0.19001,
    "h": 271.2
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#22249F
secondary
#C1C05B
accent
#E540E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22249F

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

Preview Lab → · Contrast checker → · Palette generator →

#22249F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva