#22378D#22378D

#22378D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.145 H 268.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#22378D
RGBrgb(34, 55, 141)
HSLhsl(228, 61%, 34%)
HSVhsv(228, 76%, 55%)
CMYKcmyk(75.9%, 61%, 0%, 44.7%)
CIE-LABlab(26.72, 23.75, -50.10)
CIE-LCHlch(26.72, 55.45, 295.37°)
OKLaboklab(37.74% -0.0048 -0.1446)
OKLCHoklch(37.74% 0.145 268.1)
XYZxyz(6.8319, 4.9948, 25.7982)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22378D #8D7822
analogous
#226D8D #22378D #42228D
triadic
#22378D #8D2237 #378D22
tetradic
#22378D #8D226D #8D7822 #228D42
square
#22378D #8D226D #8D7822 #228D42
split-complementary
#22378D #8D4222 #6D8D22
monochromatic
#0A112A #16245C #22378D #2E4ABE #546DD6

Accessibility & contrast

On white

10.50
#22378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#22378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22378D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22378D#FFFFFF#000000##FFFFFF
##22378D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22378d;
/* rgb */ color: rgb(34, 55, 141);
/* oklch */ color: oklch(37.7% 0.145 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e6daf',
    500: '#22378d',
    950: '#000000',
  },
}
SCSS
$custom: #22378d;
$custom-light: #6e6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#22378d",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 228.224,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.14473,
    "h": 268.1
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#22378D
secondary
#B9A551
accent
#C544E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22378D

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

Preview Lab → · Contrast checker → · Palette generator →

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