#22399D#22399D

#22399D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.164 H 267.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#22399D
RGBrgb(34, 57, 157)
HSLhsl(229, 64%, 37%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(78.3%, 63.7%, 0%, 38.4%)
CIE-LABlab(28.64, 28.57, -56.77)
CIE-LCHlch(28.64, 63.56, 296.71°)
OKLaboklab(39.59% -0.0063 -0.1642)
OKLCHoklch(39.59% 0.164 267.8)
XYZxyz(8.2065, 5.6997, 32.5594)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22399D #9D8622
analogous
#22779D #22399D #48229D
triadic
#22399D #9D2239 #399D22
tetradic
#22399D #9D2277 #9D8622 #229D48
square
#22399D #9D2277 #9D8622 #229D48
split-complementary
#22399D #9D4822 #779D22
monochromatic
#0C1438 #17276B #22399D #2D4BCF #5D75DC

Accessibility & contrast

On white

9.81
#22399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#22399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22399D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22399D#FFFFFF#000000##FFFFFF
##22399D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #22399d;
/* rgb */ color: rgb(34, 57, 157);
/* oklch */ color: oklch(39.6% 0.164 267.8);
Tailwind
colors: {
  custom: {
    50: '#726fbb',
    500: '#22399d',
    950: '#000000',
  },
}
SCSS
$custom: #22399d;
$custom-light: #726fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#22399d",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 228.78,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.16431,
    "h": 267.8
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#22399D
secondary
#C1AD5A
accent
#C840E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22399D

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

Preview Lab → · Contrast checker → · Palette generator →

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