#22389A#22389A

#22389A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.161 H 268.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#22389A
RGBrgb(34, 56, 154)
HSLhsl(229, 64%, 37%)
HSVhsv(229, 78%, 60%)
CMYKcmyk(77.9%, 63.6%, 0%, 39.6%)
CIE-LABlab(28.12, 28.09, -55.81)
CIE-LCHlch(28.12, 62.48, 296.72°)
OKLaboklab(39.12% -0.0056 -0.1614)
OKLCHoklch(39.12% 0.161 268)
XYZxyz(7.9046, 5.5006, 31.2107)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22389A #9A8422
analogous
#22749A #22389A #48229A
triadic
#22389A #9A2238 #389A22
tetradic
#22389A #9A2274 #9A8422 #229A48
square
#22389A #9A2274 #9A8422 #229A48
split-complementary
#22389A #9A4822 #749A22
monochromatic
#0C1436 #172668 #22389A #2D4ACC #5B73DB

Accessibility & contrast

On white

10.00
#22389A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#22389A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22389A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22389A#FFFFFF#000000##FFFFFF
##22389A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22389a;
/* rgb */ color: rgb(34, 56, 154);
/* oklch */ color: oklch(39.1% 0.161 268.0);
Tailwind
colors: {
  custom: {
    50: '#716eb9',
    500: '#22389a',
    950: '#000000',
  },
}
SCSS
$custom: #22389a;
$custom-light: #716eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#22389a",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 154
  },
  "hsl": {
    "h": 229,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.16147,
    "h": 268
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#22389A
secondary
#BFAC58
accent
#C841E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #22389A

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

Preview Lab → · Contrast checker → · Palette generator →

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