#22379B#22379B

#22379B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.164 H 268.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#22379B
RGBrgb(34, 55, 155)
HSLhsl(230, 64%, 37%)
HSVhsv(230, 78%, 61%)
CMYKcmyk(78.1%, 64.5%, 0%, 39.2%)
CIE-LABlab(27.95, 29.14, -56.69)
CIE-LCHlch(27.95, 63.74, 297.21°)
OKLaboklab(39.03% -0.005 -0.164)
OKLCHoklch(39.03% 0.164 268.3)
XYZxyz(7.9402, 5.4381, 31.6352)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22379B #9B8622
analogous
#22749B #22379B #4A229B
triadic
#22379B #9B2237 #379B22
tetradic
#22379B #9B2274 #9B8622 #229B4A
square
#22379B #9B2274 #9B8622 #229B4A
split-complementary
#22379B #9B4A22 #749B22
monochromatic
#0C1337 #172569 #22379B #2D49CD #5C72DB

Accessibility & contrast

On white

10.06
#22379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#22379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22379B
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22379B#FFFFFF#000000##FFFFFF
##22379B1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22379b;
/* rgb */ color: rgb(34, 55, 155);
/* oklch */ color: oklch(39.0% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#716db9',
    500: '#22379b',
    950: '#000000',
  },
}
SCSS
$custom: #22379b;
$custom-light: #716db9;
$custom-dark: #000000;
JSON
{
  "hex": "#22379b",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 229.587,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.16405,
    "h": 268.3
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#22379B
secondary
#C0AE59
accent
#CA41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22379B

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

Preview Lab → · Contrast checker → · Palette generator →

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