#22399C#22399C

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

Color values

HEX#22399C
RGBrgb(34, 57, 156)
HSLhsl(229, 64%, 37%)
HSVhsv(229, 78%, 61%)
CMYKcmyk(78.2%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.55, 28.19, -56.31)
CIE-LCHlch(28.55, 62.97, 296.59°)
OKLaboklab(39.5% -0.0062 -0.1628)
OKLCHoklch(39.5% 0.163 267.8)
XYZxyz(8.1215, 5.6657, 32.1116)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22399C #9C8522
analogous
#22769C #22399C #48229C
triadic
#22399C #9C2239 #399C22
tetradic
#22399C #9C2276 #9C8522 #229C48
square
#22399C #9C2276 #9C8522 #229C48
split-complementary
#22399C #9C4822 #769C22
monochromatic
#0C1438 #17276A #22399C #2D4BCE #5D75DC

Accessibility & contrast

On white

9.84
#22399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#22399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22399C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22399C#FFFFFF#000000##FFFFFF
##22399C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #22399c;
/* rgb */ color: rgb(34, 57, 156);
/* oklch */ color: oklch(39.5% 0.163 267.8);
Tailwind
colors: {
  custom: {
    50: '#716fba',
    500: '#22399c',
    950: '#000000',
  },
}
SCSS
$custom: #22399c;
$custom-light: #716fba;
$custom-dark: #000000;
JSON
{
  "hex": "#22399c",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 228.689,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.16296,
    "h": 267.8
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#22399C
secondary
#C0AD5A
accent
#C841E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22399C

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

Preview Lab → · Contrast checker → · Palette generator →

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