#22379A#22379A

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

Color values

HEX#22379A
RGBrgb(34, 55, 154)
HSLhsl(230, 64%, 37%)
HSVhsv(230, 78%, 60%)
CMYKcmyk(77.9%, 64.3%, 0%, 39.6%)
CIE-LABlab(27.86, 28.76, -56.23)
CIE-LCHlch(27.86, 63.16, 297.09°)
OKLaboklab(38.93% -0.0049 -0.1626)
OKLCHoklch(38.93% 0.163 268.3)
XYZxyz(7.8566, 5.4047, 31.1947)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22379A #9A8522
analogous
#22739A #22379A #49229A
triadic
#22379A #9A2237 #379A22
tetradic
#22379A #9A2273 #9A8522 #229A49
square
#22379A #9A2273 #9A8522 #229A49
split-complementary
#22379A #9A4922 #739A22
monochromatic
#0C1336 #172568 #22379A #2D49CC #5B72DB

Accessibility & contrast

On white

10.09
#22379A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#22379A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22379A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22379A#FFFFFF#000000##FFFFFF
##22379A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22379a;
/* rgb */ color: rgb(34, 55, 154);
/* oklch */ color: oklch(38.9% 0.163 268.3);
Tailwind
colors: {
  custom: {
    50: '#716db9',
    500: '#22379a',
    950: '#000000',
  },
}
SCSS
$custom: #22379a;
$custom-light: #716db9;
$custom-dark: #000000;
JSON
{
  "hex": "#22379a",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 229.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.16269,
    "h": 268.3
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#22379A
secondary
#BFAD58
accent
#CA41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #22379A

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

Preview Lab → · Contrast checker → · Palette generator →

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