#22399E#22399E

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

Color values

HEX#22399E
RGBrgb(34, 57, 158)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(78.5%, 63.9%, 0%, 38%)
CIE-LABlab(28.73, 28.95, -57.23)
CIE-LCHlch(28.73, 64.14, 296.83°)
OKLaboklab(39.68% -0.0063 -0.1655)
OKLCHoklch(39.68% 0.166 267.8)
XYZxyz(8.2922, 5.7340, 33.0109)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22399E #9E8722
analogous
#22779E #22399E #49229E
triadic
#22399E #9E2239 #399E22
tetradic
#22399E #9E2277 #9E8722 #229E49
square
#22399E #9E2277 #9E8722 #229E49
split-complementary
#22399E #9E4922 #779E22
monochromatic
#0C1539 #17276C #22399E #2D4BD0 #5E75DC

Accessibility & contrast

On white

9.78
#22399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22399E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22399E#FFFFFF#000000##FFFFFF
##22399E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #22399e;
/* rgb */ color: rgb(34, 57, 158);
/* oklch */ color: oklch(39.7% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#726fbc',
    500: '#22399e',
    950: '#000000',
  },
}
SCSS
$custom: #22399e;
$custom-light: #726fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22399e",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 228.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.16566,
    "h": 267.8
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#22399E
secondary
#C1AE5B
accent
#C940E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22399E

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

Preview Lab → · Contrast checker → · Palette generator →

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