#22389D#22389D

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

Color values

HEX#22389D
RGBrgb(34, 56, 157)
HSLhsl(229, 64%, 37%)
HSVhsv(229, 78%, 62%)
CMYKcmyk(78.3%, 64.3%, 0%, 38.4%)
CIE-LABlab(28.38, 29.24, -57.19)
CIE-LCHlch(28.38, 64.23, 297.08°)
OKLaboklab(39.4% -0.0056 -0.1654)
OKLCHoklch(39.4% 0.166 268)
XYZxyz(8.1576, 5.6018, 32.5431)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22389D #9D8722
analogous
#22769D #22389D #49229D
triadic
#22389D #9D2238 #389D22
tetradic
#22389D #9D2276 #9D8722 #229D49
square
#22389D #9D2276 #9D8722 #229D49
split-complementary
#22389D #9D4922 #769D22
monochromatic
#0C1438 #17266B #22389D #2D4ACF #5D74DC

Accessibility & contrast

On white

9.90
#22389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#22389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22389D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22389D#FFFFFF#000000##FFFFFF
##22389D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22389d;
/* rgb */ color: rgb(34, 56, 157);
/* oklch */ color: oklch(39.4% 0.166 268.0);
Tailwind
colors: {
  custom: {
    50: '#726ebb',
    500: '#22389d',
    950: '#000000',
  },
}
SCSS
$custom: #22389d;
$custom-light: #726ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#22389d",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 229.268,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39402,
    "c": 0.16554,
    "h": 268
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#22389D
secondary
#C1AE5A
accent
#CA40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22389D

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

Preview Lab → · Contrast checker → · Palette generator →

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