#22377E#22377E

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

Color values

HEX#22377E
RGBrgb(34, 55, 126)
HSLhsl(226, 58%, 31%)
HSVhsv(226, 73%, 49%)
CMYKcmyk(73%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.50, 17.87, -42.73)
CIE-LCHlch(25.50, 46.32, 292.70°)
OKLaboklab(36.44% -0.0054 -0.123)
OKLCHoklch(36.44% 0.123 267.5)
XYZxyz(5.7905, 4.5782, 20.3131)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22377E #7E6922
analogous
#22657E #22377E #3B227E
triadic
#22377E #7E2237 #377E22
tetradic
#22377E #7E2265 #7E6922 #227E3B
square
#22377E #7E2265 #7E6922 #227E3B
split-complementary
#22377E #7E3B22 #657E22
monochromatic
#080D1E #15224E #22377E #2F4CAE #4C6ACF

Accessibility & contrast

On white

10.96
#22377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#22377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22377E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22377E#FFFFFF#000000##FFFFFF
##22377E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22377e;
/* rgb */ color: rgb(34, 55, 126);
/* oklch */ color: oklch(36.4% 0.123 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a6da4',
    500: '#22377e',
    950: '#000000',
  },
}
SCSS
$custom: #22377e;
$custom-light: #6a6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#22377e",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 226.304,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36435,
    "c": 0.12311,
    "h": 267.5
  },
  "luminance": 0.04579
}

Semantic roles & 50–950 ramp

primary
#22377E
secondary
#B1994B
accent
#BE47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22377E

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

Preview Lab → · Contrast checker → · Palette generator →

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