#22388C#22388C

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

Color values

HEX#22388C
RGBrgb(34, 56, 140)
HSLhsl(228, 61%, 34%)
HSVhsv(228, 76%, 55%)
CMYKcmyk(75.7%, 60%, 0%, 45.1%)
CIE-LABlab(26.91, 22.68, -49.18)
CIE-LCHlch(26.91, 54.15, 294.76°)
OKLaboklab(37.85% -0.0056 -0.1419)
OKLCHoklch(37.85% 0.142 267.7)
XYZxyz(6.8058, 5.0611, 25.4241)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22388C #8C7622
analogous
#226D8C #22388C #41228C
triadic
#22388C #8C2238 #388C22
tetradic
#22388C #8C226D #8C7622 #228C41
square
#22388C #8C226D #8C7622 #228C41
split-complementary
#22388C #8C4122 #6D8C22
monochromatic
#0A112A #16245B #22388C #2E4CBD #536ED5

Accessibility & contrast

On white

10.44
#22388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22388C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22388C#FFFFFF#000000##FFFFFF
##22388C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22388c;
/* rgb */ color: rgb(34, 56, 140);
/* oklch */ color: oklch(37.8% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d6eae',
    500: '#22388c',
    950: '#000000',
  },
}
SCSS
$custom: #22388c;
$custom-light: #6d6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#22388c",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 227.547,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37849,
    "c": 0.14203,
    "h": 267.7
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#22388C
secondary
#B9A351
accent
#C344E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22388C

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

Preview Lab → · Contrast checker → · Palette generator →

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