#22389E#22389E

#22389E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.167 H 268.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#22389E
RGBrgb(34, 56, 158)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(78.5%, 64.6%, 0%, 38%)
CIE-LABlab(28.48, 29.62, -57.65)
CIE-LCHlch(28.48, 64.82, 297.19°)
OKLaboklab(39.5% -0.0057 -0.1668)
OKLCHoklch(39.5% 0.167 268.1)
XYZxyz(8.2433, 5.6361, 32.9946)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22389E #9E8822
analogous
#22769E #22389E #4A229E
triadic
#22389E #9E2238 #389E22
tetradic
#22389E #9E2276 #9E8822 #229E4A
square
#22389E #9E2276 #9E8822 #229E4A
split-complementary
#22389E #9E4A22 #769E22
monochromatic
#0C1439 #17266C #22389E #2D4AD0 #5E74DC

Accessibility & contrast

On white

9.87
#22389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#22389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22389E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22389E#FFFFFF#000000##FFFFFF
##22389E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22389e;
/* rgb */ color: rgb(34, 56, 158);
/* oklch */ color: oklch(39.5% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#726ebc',
    500: '#22389e',
    950: '#000000',
  },
}
SCSS
$custom: #22389e;
$custom-light: #726ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#22389e",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 229.355,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39497,
    "c": 0.16688,
    "h": 268.1
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#22389E
secondary
#C1AF5B
accent
#CA40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22389E

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

Preview Lab → · Contrast checker → · Palette generator →

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