#22377D#22377D

#22377D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.122 H 267.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#22377D
RGBrgb(34, 55, 125)
HSLhsl(226, 57%, 31%)
HSVhsv(226, 73%, 49%)
CMYKcmyk(72.8%, 56%, 0%, 51%)
CIE-LABlab(25.42, 17.48, -42.23)
CIE-LCHlch(25.42, 45.70, 292.48°)
OKLaboklab(36.35% -0.0055 -0.1215)
OKLCHoklch(36.35% 0.122 267.4)
XYZxyz(5.7263, 4.5525, 19.9750)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22377D #7D6822
analogous
#22647D #22377D #3A227D
triadic
#22377D #7D2237 #377D22
tetradic
#22377D #7D2264 #7D6822 #227D3A
square
#22377D #7D2264 #7D6822 #227D3A
split-complementary
#22377D #7D3A22 #647D22
monochromatic
#080D1D #15224D #22377D #2F4CAD #4B69CE

Accessibility & contrast

On white

10.99
#22377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#22377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22377D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22377D#FFFFFF#000000##FFFFFF
##22377D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22377d;
/* rgb */ color: rgb(34, 55, 125);
/* oklch */ color: oklch(36.4% 0.122 267.4);
Tailwind
colors: {
  custom: {
    50: '#6a6da3',
    500: '#22377d',
    950: '#000000',
  },
}
SCSS
$custom: #22377d;
$custom-light: #6a6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#22377d",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 226.154,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36352,
    "c": 0.12163,
    "h": 267.4
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#22377D
secondary
#B0984B
accent
#BD47E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22377D

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

Preview Lab → · Contrast checker → · Palette generator →

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