#22399B#22399B

#22399B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.162 H 267.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#22399B
RGBrgb(34, 57, 155)
HSLhsl(229, 64%, 37%)
HSVhsv(229, 78%, 61%)
CMYKcmyk(78.1%, 63.2%, 0%, 39.2%)
CIE-LABlab(28.46, 27.80, -55.85)
CIE-LCHlch(28.46, 62.39, 296.47°)
OKLaboklab(39.41% -0.0062 -0.1615)
OKLCHoklch(39.41% 0.162 267.8)
XYZxyz(8.0372, 5.6320, 31.6675)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22399B #9B8422
analogous
#22769B #22399B #48229B
triadic
#22399B #9B2239 #399B22
tetradic
#22399B #9B2276 #9B8422 #229B48
square
#22399B #9B2276 #9B8422 #229B48
split-complementary
#22399B #9B4822 #769B22
monochromatic
#0C1437 #172769 #22399B #2D4BCD #5C74DB

Accessibility & contrast

On white

9.87
#22399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22399B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22399B#FFFFFF#000000##FFFFFF
##22399B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #22399b;
/* rgb */ color: rgb(34, 57, 155);
/* oklch */ color: oklch(39.4% 0.162 267.8);
Tailwind
colors: {
  custom: {
    50: '#716fb9',
    500: '#22399b',
    950: '#000000',
  },
}
SCSS
$custom: #22399b;
$custom-light: #716fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#22399b",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 228.595,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.1616,
    "h": 267.8
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#22399B
secondary
#C0AC59
accent
#C741E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22399B

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

Preview Lab → · Contrast checker → · Palette generator →

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