#22379F#22379F

#22379F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.169 H 268.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#22379F
RGBrgb(34, 55, 159)
HSLhsl(230, 65%, 38%)
HSVhsv(230, 79%, 62%)
CMYKcmyk(78.6%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.31, 30.66, -58.53)
CIE-LCHlch(28.31, 66.07, 297.65°)
OKLaboklab(39.41% -0.0051 -0.1693)
OKLCHoklch(39.41% 0.169 268.3)
XYZxyz(8.2817, 5.5747, 33.4337)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22379F #9F8A22
analogous
#22759F #22379F #4B229F
triadic
#22379F #9F2237 #379F22
tetradic
#22379F #9F2275 #9F8A22 #229F4B
square
#22379F #9F2275 #9F8A22 #229F4B
split-complementary
#22379F #9F4B22 #759F22
monochromatic
#0C143A #17266D #22379F #2D48D1 #5F74DD

Accessibility & contrast

On white

9.93
#22379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#22379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22379F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22379F#FFFFFF#000000##FFFFFF
##22379F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #22379f;
/* rgb */ color: rgb(34, 55, 159);
/* oklch */ color: oklch(39.4% 0.169 268.3);
Tailwind
colors: {
  custom: {
    50: '#726dbc',
    500: '#22379f',
    950: '#000000',
  },
}
SCSS
$custom: #22379f;
$custom-light: #726dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22379f",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 229.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.16942,
    "h": 268.3
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#22379F
secondary
#C1B05B
accent
#CC40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22379F

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

Preview Lab → · Contrast checker → · Palette generator →

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