#22377B#22377B

#22377B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.119 H 267.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#22377B
RGBrgb(34, 55, 123)
HSLhsl(226, 57%, 31%)
HSVhsv(226, 72%, 48%)
CMYKcmyk(72.4%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.27, 16.69, -41.22)
CIE-LCHlch(25.27, 44.47, 292.04°)
OKLaboklab(36.19% -0.0057 -0.1185)
OKLCHoklch(36.19% 0.119 267.3)
XYZxyz(5.5998, 4.5020, 19.3089)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22377B #7B6622
analogous
#22637B #22377B #39227B
triadic
#22377B #7B2237 #377B22
tetradic
#22377B #7B2263 #7B6622 #227B39
square
#22377B #7B2263 #7B6622 #227B39
split-complementary
#22377B #7B3922 #637B22
monochromatic
#070C1B #15224B #22377B #2F4CAB #4A69CD

Accessibility & contrast

On white

11.05
#22377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#22377B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22377B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22377B#FFFFFF#000000##FFFFFF
##22377B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22377b;
/* rgb */ color: rgb(34, 55, 123);
/* oklch */ color: oklch(36.2% 0.119 267.3);
Tailwind
colors: {
  custom: {
    50: '#696da2',
    500: '#22377b',
    950: '#000000',
  },
}
SCSS
$custom: #22377b;
$custom-light: #696da2;
$custom-dark: #000000;
JSON
{
  "hex": "#22377b",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 225.843,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.11867,
    "h": 267.3
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#22377B
secondary
#AE964B
accent
#BC48E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22377B

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

Preview Lab → · Contrast checker → · Palette generator →

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