#22387A#22387A

#22387A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.116 H 266.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#22387A
RGBrgb(34, 56, 122)
HSLhsl(225, 56%, 31%)
HSVhsv(225, 72%, 48%)
CMYKcmyk(72.1%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.48, 15.59, -40.24)
CIE-LCHlch(25.48, 43.15, 291.18°)
OKLaboklab(36.33% -0.0067 -0.1156)
OKLCHoklch(36.33% 0.116 266.7)
XYZxyz(5.5855, 4.5730, 18.9969)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22387A #7A6422
analogous
#22647A #22387A #38227A
triadic
#22387A #7A2238 #387A22
tetradic
#22387A #7A2264 #7A6422 #227A38
square
#22387A #7A2264 #7A6422 #227A38
split-complementary
#22387A #7A3822 #647A22
monochromatic
#070C1A #15224A #22387A #2F4EAA #4A6BCD

Accessibility & contrast

On white

10.97
#22387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#22387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22387A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22387A#FFFFFF#000000##FFFFFF
##22387A1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D417C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22387a;
/* rgb */ color: rgb(34, 56, 122);
/* oklch */ color: oklch(36.3% 0.116 266.7);
Tailwind
colors: {
  custom: {
    50: '#696ea1',
    500: '#22387a',
    950: '#000000',
  },
}
SCSS
$custom: #22387a;
$custom-light: #696ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#22387a",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 225,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36326,
    "c": 0.11582,
    "h": 266.7
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#22387A
secondary
#AD944B
accent
#BA48E0
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22387A

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

Preview Lab → · Contrast checker → · Palette generator →

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