#22379E#22379E

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

Color values

HEX#22379E
RGBrgb(34, 55, 158)
HSLhsl(230, 65%, 38%)
HSVhsv(230, 78%, 62%)
CMYKcmyk(78.5%, 65.2%, 0%, 38%)
CIE-LABlab(28.22, 30.28, -58.07)
CIE-LCHlch(28.22, 65.49, 297.54°)
OKLaboklab(39.31% -0.0051 -0.168)
OKLCHoklch(39.31% 0.168 268.3)
XYZxyz(8.1953, 5.5402, 32.9786)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22379E #9E8922
analogous
#22759E #22379E #4B229E
triadic
#22379E #9E2237 #379E22
tetradic
#22379E #9E2275 #9E8922 #229E4B
square
#22379E #9E2275 #9E8922 #229E4B
split-complementary
#22379E #9E4B22 #759E22
monochromatic
#0C1439 #17256C #22379E #2D49D0 #5E73DC

Accessibility & contrast

On white

9.96
#22379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#22379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22379E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22379E#FFFFFF#000000##FFFFFF
##22379E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #22379e;
/* rgb */ color: rgb(34, 55, 158);
/* oklch */ color: oklch(39.3% 0.168 268.3);
Tailwind
colors: {
  custom: {
    50: '#726dbc',
    500: '#22379e',
    950: '#000000',
  },
}
SCSS
$custom: #22379e;
$custom-light: #726dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22379e",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 229.839,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.16809,
    "h": 268.3
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#22379E
secondary
#C1B05B
accent
#CB40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22379E

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

Preview Lab → · Contrast checker → · Palette generator →

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