#22377A#22377A

#22377A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.117 H 267.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#22377A
RGBrgb(34, 55, 122)
HSLhsl(226, 56%, 31%)
HSVhsv(226, 72%, 48%)
CMYKcmyk(72.1%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.19, 16.29, -40.71)
CIE-LCHlch(25.19, 43.85, 291.81°)
OKLaboklab(36.1% -0.0058 -0.117)
OKLCHoklch(36.1% 0.117 267.2)
XYZxyz(5.5375, 4.4770, 18.9809)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22377A #7A6522
analogous
#22637A #22377A #39227A
triadic
#22377A #7A2237 #377A22
tetradic
#22377A #7A2263 #7A6522 #227A39
square
#22377A #7A2263 #7A6522 #227A39
split-complementary
#22377A #7A3922 #637A22
monochromatic
#070C1A #15214A #22377A #2F4DAA #4A69CD

Accessibility & contrast

On white

11.08
#22377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22377A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22377A#FFFFFF#000000##FFFFFF
##22377A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22377a;
/* rgb */ color: rgb(34, 55, 122);
/* oklch */ color: oklch(36.1% 0.117 267.2);
Tailwind
colors: {
  custom: {
    50: '#696da1',
    500: '#22377a',
    950: '#000000',
  },
}
SCSS
$custom: #22377a;
$custom-light: #696da1;
$custom-dark: #000000;
JSON
{
  "hex": "#22377a",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 225.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.11718,
    "h": 267.2
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22377A

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

Preview Lab → · Contrast checker → · Palette generator →

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