#22389C#22389C

#22389C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.164 H 268.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#22389C
RGBrgb(34, 56, 156)
HSLhsl(229, 64%, 37%)
HSVhsv(229, 78%, 61%)
CMYKcmyk(78.2%, 64.1%, 0%, 38.8%)
CIE-LABlab(28.29, 28.86, -56.73)
CIE-LCHlch(28.29, 63.65, 296.96°)
OKLaboklab(39.31% -0.0056 -0.1641)
OKLCHoklch(39.31% 0.164 268)
XYZxyz(8.0725, 5.5678, 32.0953)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22389C #9C8622
analogous
#22759C #22389C #49229C
triadic
#22389C #9C2238 #389C22
tetradic
#22389C #9C2275 #9C8622 #229C49
square
#22389C #9C2275 #9C8622 #229C49
split-complementary
#22389C #9C4922 #759C22
monochromatic
#0C1438 #17266A #22389C #2D4ACE #5D74DC

Accessibility & contrast

On white

9.93
#22389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#22389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22389C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22389C#FFFFFF#000000##FFFFFF
##22389C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22389c;
/* rgb */ color: rgb(34, 56, 156);
/* oklch */ color: oklch(39.3% 0.164 268.0);
Tailwind
colors: {
  custom: {
    50: '#726eba',
    500: '#22389c',
    950: '#000000',
  },
}
SCSS
$custom: #22389c;
$custom-light: #726eba;
$custom-dark: #000000;
JSON
{
  "hex": "#22389c",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 229.18,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.16419,
    "h": 268
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#22389C
secondary
#C0AE5A
accent
#C941E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22389C

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

Preview Lab → · Contrast checker → · Palette generator →

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