#22388E#22388E

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

Color values

HEX#22388E
RGBrgb(34, 56, 142)
HSLhsl(228, 61%, 35%)
HSVhsv(228, 76%, 56%)
CMYKcmyk(76.1%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.08, 23.46, -50.14)
CIE-LCHlch(27.08, 55.36, 295.07°)
OKLaboklab(38.03% -0.0055 -0.1447)
OKLCHoklch(38.03% 0.145 267.8)
XYZxyz(6.9547, 5.1207, 26.2078)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22388E #8E7822
analogous
#226E8E #22388E #42228E
triadic
#22388E #8E2238 #388E22
tetradic
#22388E #8E226E #8E7822 #228E42
square
#22388E #8E226E #8E7822 #228E42
split-complementary
#22388E #8E4222 #6E8E22
monochromatic
#0A112B #16255D #22388E #2E4BBF #546FD6

Accessibility & contrast

On white

10.37
#22388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22388E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22388E#FFFFFF#000000##FFFFFF
##22388E1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22388e;
/* rgb */ color: rgb(34, 56, 142);
/* oklch */ color: oklch(38.0% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#6e6eb0',
    500: '#22388e',
    950: '#000000',
  },
}
SCSS
$custom: #22388e;
$custom-light: #6e6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#22388e",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 227.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38026,
    "c": 0.14486,
    "h": 267.8
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#22388E
secondary
#BAA552
accent
#C443E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22388E

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

Preview Lab → · Contrast checker → · Palette generator →

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