#22377F#22377F

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

Color values

HEX#22377F
RGBrgb(34, 55, 127)
HSLhsl(226, 58%, 32%)
HSVhsv(226, 73%, 50%)
CMYKcmyk(73.2%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.58, 18.27, -43.23)
CIE-LCHlch(25.58, 46.93, 292.90°)
OKLaboklab(36.52% -0.0053 -0.1245)
OKLCHoklch(36.52% 0.125 267.5)
XYZxyz(5.8553, 4.6042, 20.6547)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22377F #7F6A22
analogous
#22667F #22377F #3C227F
triadic
#22377F #7F2237 #377F22
tetradic
#22377F #7F2266 #7F6A22 #227F3C
square
#22377F #7F2266 #7F6A22 #227F3C
split-complementary
#22377F #7F3C22 #667F22
monochromatic
#080D1E #15224F #22377F #2F4CAF #4C6ACF

Accessibility & contrast

On white

10.93
#22377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22377F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22377F#FFFFFF#000000##FFFFFF
##22377F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22377f;
/* rgb */ color: rgb(34, 55, 127);
/* oklch */ color: oklch(36.5% 0.125 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a6da5',
    500: '#22377f',
    950: '#000000',
  },
}
SCSS
$custom: #22377f;
$custom-light: #6a6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#22377f",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 226.452,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.12458,
    "h": 267.5
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22377F

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

Preview Lab → · Contrast checker → · Palette generator →

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