#22388D#22388D

#22388D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.143 H 267.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#22388D
RGBrgb(34, 56, 141)
HSLhsl(228, 61%, 34%)
HSVhsv(228, 76%, 55%)
CMYKcmyk(75.9%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.99, 23.07, -49.66)
CIE-LCHlch(26.99, 54.76, 294.92°)
OKLaboklab(37.94% -0.0056 -0.1433)
OKLCHoklch(37.94% 0.143 267.8)
XYZxyz(6.8799, 5.0908, 25.8142)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22388D #8D7722
analogous
#226E8D #22388D #42228D
triadic
#22388D #8D2238 #388D22
tetradic
#22388D #8D226E #8D7722 #228D42
square
#22388D #8D226E #8D7722 #228D42
split-complementary
#22388D #8D4222 #6E8D22
monochromatic
#0A112A #16245C #22388D #2E4CBE #546ED6

Accessibility & contrast

On white

10.40
#22388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#22388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22388D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22388D#FFFFFF#000000##FFFFFF
##22388D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22388d;
/* rgb */ color: rgb(34, 56, 141);
/* oklch */ color: oklch(37.9% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e6eaf',
    500: '#22388d',
    950: '#000000',
  },
}
SCSS
$custom: #22388d;
$custom-light: #6e6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#22388d",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 227.664,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37937,
    "c": 0.14345,
    "h": 267.8
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#22388D
secondary
#B9A451
accent
#C344E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22388D

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

Preview Lab → · Contrast checker → · Palette generator →

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