#22388A#22388A

#22388A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.139 H 267.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#22388A
RGBrgb(34, 56, 138)
HSLhsl(227, 60%, 34%)
HSVhsv(227, 75%, 54%)
CMYKcmyk(75.4%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.74, 21.90, -48.21)
CIE-LCHlch(26.74, 52.95, 294.43°)
OKLaboklab(37.67% -0.0056 -0.1391)
OKLCHoklch(37.67% 0.139 267.7)
XYZxyz(6.6597, 5.0027, 24.6545)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22388A #8A7422
analogous
#226C8A #22388A #40228A
triadic
#22388A #8A2238 #388A22
tetradic
#22388A #8A226C #8A7422 #228A40
square
#22388A #8A226C #8A7422 #228A40
split-complementary
#22388A #8A4022 #6C8A22
monochromatic
#0A1028 #162459 #22388A #2E4CBB #526ED4

Accessibility & contrast

On white

10.50
#22388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#22388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22388A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22388A#FFFFFF#000000##FFFFFF
##22388A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22388a;
/* rgb */ color: rgb(34, 56, 138);
/* oklch */ color: oklch(37.7% 0.139 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d6ead',
    500: '#22388a',
    950: '#000000',
  },
}
SCSS
$custom: #22388a;
$custom-light: #6d6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#22388a",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 227.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37673,
    "c": 0.13918,
    "h": 267.7
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#22388A
secondary
#B8A250
accent
#C244E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22388A

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

Preview Lab → · Contrast checker → · Palette generator →

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