#22367F#22367F

#22367F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.126 H 268.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#22367F
RGBrgb(34, 54, 127)
HSLhsl(227, 58%, 32%)
HSVhsv(227, 73%, 50%)
CMYKcmyk(73.2%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.29, 18.97, -43.70)
CIE-LCHlch(25.29, 47.63, 293.46°)
OKLaboklab(36.3% -0.0045 -0.1258)
OKLCHoklch(36.3% 0.126 268)
XYZxyz(5.8083, 4.5101, 20.6390)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22367F #7F6B22
analogous
#22657F #22367F #3D227F
triadic
#22367F #7F2236 #367F22
tetradic
#22367F #7F2265 #7F6B22 #227F3D
square
#22367F #7F2265 #7F6B22 #227F3D
split-complementary
#22367F #7F3D22 #657F22
monochromatic
#080D1E #15214F #22367F #2F4BAF #4C68CF

Accessibility & contrast

On white

11.04
#22367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#22367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22367F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22367F#FFFFFF#000000##FFFFFF
##22367F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22367f;
/* rgb */ color: rgb(34, 54, 127);
/* oklch */ color: oklch(36.3% 0.126 268.0);
Tailwind
colors: {
  custom: {
    50: '#6a6ca5',
    500: '#22367f',
    950: '#000000',
  },
}
SCSS
$custom: #22367f;
$custom-light: #6a6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#22367f",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 227.097,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36304,
    "c": 0.12592,
    "h": 268
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#22367F
secondary
#B29C4B
accent
#C047E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22367F

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

Preview Lab → · Contrast checker → · Palette generator →

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