#22379C#22379C

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

Color values

HEX#22379C
RGBrgb(34, 55, 156)
HSLhsl(230, 64%, 37%)
HSVhsv(230, 78%, 61%)
CMYKcmyk(78.2%, 64.7%, 0%, 38.8%)
CIE-LABlab(28.04, 29.52, -57.15)
CIE-LCHlch(28.04, 64.33, 297.32°)
OKLaboklab(39.12% -0.005 -0.1653)
OKLCHoklch(39.12% 0.165 268.3)
XYZxyz(8.0245, 5.4719, 32.0793)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22379C #9C8722
analogous
#22749C #22379C #4A229C
triadic
#22379C #9C2237 #379C22
tetradic
#22379C #9C2274 #9C8722 #229C4A
square
#22379C #9C2274 #9C8722 #229C4A
split-complementary
#22379C #9C4A22 #749C22
monochromatic
#0C1438 #17256A #22379C #2D49CE #5D73DC

Accessibility & contrast

On white

10.03
#22379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22379C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22379C#FFFFFF#000000##FFFFFF
##22379C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22379c;
/* rgb */ color: rgb(34, 55, 156);
/* oklch */ color: oklch(39.1% 0.165 268.3);
Tailwind
colors: {
  custom: {
    50: '#726dba',
    500: '#22379c',
    950: '#000000',
  },
}
SCSS
$custom: #22379c;
$custom-light: #726dba;
$custom-dark: #000000;
JSON
{
  "hex": "#22379c",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 229.672,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.1654,
    "h": 268.3
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#22379C
secondary
#C0AF5A
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22379C

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

Preview Lab → · Contrast checker → · Palette generator →

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