#22388B#22388B

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

Color values

HEX#22388B
RGBrgb(34, 56, 139)
HSLhsl(227, 61%, 34%)
HSVhsv(227, 76%, 55%)
CMYKcmyk(75.5%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.83, 22.29, -48.69)
CIE-LCHlch(26.83, 53.55, 294.59°)
OKLaboklab(37.76% -0.0056 -0.1405)
OKLCHoklch(37.76% 0.141 267.7)
XYZxyz(6.7324, 5.0318, 25.0375)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22388B #8B7522
analogous
#226D8B #22388B #41228B
triadic
#22388B #8B2238 #388B22
tetradic
#22388B #8B226D #8B7522 #228B41
square
#22388B #8B226D #8B7522 #228B41
split-complementary
#22388B #8B4122 #6D8B22
monochromatic
#0A1029 #16245A #22388B #2E4CBC #536ED5

Accessibility & contrast

On white

10.47
#22388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#22388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22388B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22388B#FFFFFF#000000##FFFFFF
##22388B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22388b;
/* rgb */ color: rgb(34, 56, 139);
/* oklch */ color: oklch(37.8% 0.141 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d6eae',
    500: '#22388b',
    950: '#000000',
  },
}
SCSS
$custom: #22388b;
$custom-light: #6d6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#22388b",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 227.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.14061,
    "h": 267.7
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22388B

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

Preview Lab → · Contrast checker → · Palette generator →

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