#22367B#22367B

#22367B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.120 H 267.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#22367B
RGBrgb(34, 54, 123)
HSLhsl(227, 57%, 31%)
HSVhsv(227, 72%, 48%)
CMYKcmyk(72.4%, 56.1%, 0%, 51.8%)
CIE-LABlab(24.98, 17.39, -41.68)
CIE-LCHlch(24.98, 45.17, 292.64°)
OKLaboklab(35.97% -0.0047 -0.1199)
OKLCHoklch(35.97% 0.12 267.7)
XYZxyz(5.5528, 4.4079, 19.2932)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22367B #7B6722
analogous
#22627B #22367B #3A227B
triadic
#22367B #7B2236 #367B22
tetradic
#22367B #7B2262 #7B6722 #227B3A
square
#22367B #7B2262 #7B6722 #227B3A
split-complementary
#22367B #7B3A22 #627B22
monochromatic
#070C1B #15214B #22367B #2F4BAB #4A68CD

Accessibility & contrast

On white

11.16
#22367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#22367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22367B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22367B#FFFFFF#000000##FFFFFF
##22367B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22367b;
/* rgb */ color: rgb(34, 54, 123);
/* oklch */ color: oklch(36.0% 0.120 267.7);
Tailwind
colors: {
  custom: {
    50: '#696ca2',
    500: '#22367b',
    950: '#000000',
  },
}
SCSS
$custom: #22367b;
$custom-light: #696ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#22367b",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 226.517,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.12002,
    "h": 267.7
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#22367B
secondary
#AE984B
accent
#BE48E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22367B

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

Preview Lab → · Contrast checker → · Palette generator →

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