#22399F#22399F

#22399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.167 H 267.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#22399F
RGBrgb(34, 57, 159)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 79%, 62%)
CMYKcmyk(78.6%, 64.2%, 0%, 37.6%)
CIE-LABlab(28.82, 29.33, -57.69)
CIE-LCHlch(28.82, 64.72, 296.95°)
OKLaboklab(39.78% -0.0063 -0.1669)
OKLCHoklch(39.78% 0.167 267.8)
XYZxyz(8.3786, 5.7686, 33.4660)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22399F #9F8822
analogous
#22779F #22399F #49229F
triadic
#22399F #9F2239 #399F22
tetradic
#22399F #9F2277 #9F8822 #229F49
square
#22399F #9F2277 #9F8822 #229F49
split-complementary
#22399F #9F4922 #779F22
monochromatic
#0C153A #17276D #22399F #2D4BD1 #5F76DD

Accessibility & contrast

On white

9.75
#22399F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#22399F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22399F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22399F#FFFFFF#000000##FFFFFF
##22399F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #22399f;
/* rgb */ color: rgb(34, 57, 159);
/* oklch */ color: oklch(39.8% 0.167 267.8);
Tailwind
colors: {
  custom: {
    50: '#726fbc',
    500: '#22399f',
    950: '#000000',
  },
}
SCSS
$custom: #22399f;
$custom-light: #726fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22399f",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 228.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.16701,
    "h": 267.8
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#22399F
secondary
#C1AF5B
accent
#C940E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22399F

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

Preview Lab → · Contrast checker → · Palette generator →

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