#22389F#22389F

#22389F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.168 H 268.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#22389F
RGBrgb(34, 56, 159)
HSLhsl(229, 65%, 38%)
HSVhsv(229, 79%, 62%)
CMYKcmyk(78.6%, 64.8%, 0%, 37.6%)
CIE-LABlab(28.57, 30.00, -58.11)
CIE-LCHlch(28.57, 65.40, 297.30°)
OKLaboklab(39.59% -0.0057 -0.1681)
OKLCHoklch(39.59% 0.168 268.1)
XYZxyz(8.3297, 5.6707, 33.4497)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22389F #9F8922
analogous
#22769F #22389F #4A229F
triadic
#22389F #9F2238 #389F22
tetradic
#22389F #9F2276 #9F8922 #229F4A
square
#22389F #9F2276 #9F8922 #229F4A
split-complementary
#22389F #9F4A22 #769F22
monochromatic
#0C143A #17266D #22389F #2D4AD1 #5F75DD

Accessibility & contrast

On white

9.84
#22389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22389F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22389F#FFFFFF#000000##FFFFFF
##22389F1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22389f;
/* rgb */ color: rgb(34, 56, 159);
/* oklch */ color: oklch(39.6% 0.168 268.1);
Tailwind
colors: {
  custom: {
    50: '#726ebc',
    500: '#22389f',
    950: '#000000',
  },
}
SCSS
$custom: #22389f;
$custom-light: #726ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#22389f",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 229.44,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39591,
    "c": 0.16822,
    "h": 268.1
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#22389F
secondary
#C1AF5B
accent
#CA40E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #22389F

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

Preview Lab → · Contrast checker → · Palette generator →

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