#22378B#22378B

#22378B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.142 H 268.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#22378B
RGBrgb(34, 55, 139)
HSLhsl(228, 61%, 34%)
HSVhsv(228, 76%, 55%)
CMYKcmyk(75.5%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.55, 22.98, -49.14)
CIE-LCHlch(26.55, 54.25, 295.06°)
OKLaboklab(37.56% -0.0048 -0.1418)
OKLCHoklch(37.56% 0.142 268)
XYZxyz(6.6845, 4.9358, 25.0215)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22378B #8B7622
analogous
#226C8B #22378B #42228B
triadic
#22378B #8B2237 #378B22
tetradic
#22378B #8B226C #8B7622 #228B42
square
#22378B #8B226C #8B7622 #228B42
split-complementary
#22378B #8B4222 #6C8B22
monochromatic
#0A1029 #16245A #22378B #2E4ABC #536DD5

Accessibility & contrast

On white

10.57
#22378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#22378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22378B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22378B#FFFFFF#000000##FFFFFF
##22378B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22378b;
/* rgb */ color: rgb(34, 55, 139);
/* oklch */ color: oklch(37.6% 0.142 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d6dae',
    500: '#22378b',
    950: '#000000',
  },
}
SCSS
$custom: #22378b;
$custom-light: #6d6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#22378b",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 228,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.1419,
    "h": 268
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#22378B
secondary
#B8A450
accent
#C444E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22378B

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

Preview Lab → · Contrast checker → · Palette generator →

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