#22379D#22379D

#22379D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.167 H 268.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#22379D
RGBrgb(34, 55, 157)
HSLhsl(230, 64%, 37%)
HSVhsv(230, 78%, 62%)
CMYKcmyk(78.3%, 65%, 0%, 38.4%)
CIE-LABlab(28.13, 29.90, -57.61)
CIE-LCHlch(28.13, 64.91, 297.43°)
OKLaboklab(39.21% -0.005 -0.1667)
OKLCHoklch(39.21% 0.167 268.3)
XYZxyz(8.1096, 5.5059, 32.5271)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22379D #9D8822
analogous
#22759D #22379D #4A229D
triadic
#22379D #9D2237 #379D22
tetradic
#22379D #9D2275 #9D8822 #229D4A
square
#22379D #9D2275 #9D8822 #229D4A
split-complementary
#22379D #9D4A22 #759D22
monochromatic
#0C1438 #17256B #22379D #2D49CF #5D73DC

Accessibility & contrast

On white

9.99
#22379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#22379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22379D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22379D#FFFFFF#000000##FFFFFF
##22379D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22379d;
/* rgb */ color: rgb(34, 55, 157);
/* oklch */ color: oklch(39.2% 0.167 268.3);
Tailwind
colors: {
  custom: {
    50: '#726dbb',
    500: '#22379d',
    950: '#000000',
  },
}
SCSS
$custom: #22379d;
$custom-light: #726dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#22379d",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 229.756,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.16675,
    "h": 268.3
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#22379D
secondary
#C1AF5A
accent
#CB40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22379D

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

Preview Lab → · Contrast checker → · Palette generator →

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