#22367E#22367E

#22367E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.124 H 267.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#22367E
RGBrgb(34, 54, 126)
HSLhsl(227, 58%, 31%)
HSVhsv(227, 73%, 49%)
CMYKcmyk(73%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.21, 18.57, -43.20)
CIE-LCHlch(25.21, 47.02, 293.26°)
OKLaboklab(36.22% -0.0045 -0.1244)
OKLCHoklch(36.22% 0.124 267.9)
XYZxyz(5.7434, 4.4842, 20.2975)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22367E #7E6A22
analogous
#22647E #22367E #3C227E
triadic
#22367E #7E2236 #367E22
tetradic
#22367E #7E2264 #7E6A22 #227E3C
square
#22367E #7E2264 #7E6A22 #227E3C
split-complementary
#22367E #7E3C22 #647E22
monochromatic
#080D1E #15214E #22367E #2F4BAE #4C68CF

Accessibility & contrast

On white

11.07
#22367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22367E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22367E#FFFFFF#000000##FFFFFF
##22367E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22367e;
/* rgb */ color: rgb(34, 54, 126);
/* oklch */ color: oklch(36.2% 0.124 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ca4',
    500: '#22367e',
    950: '#000000',
  },
}
SCSS
$custom: #22367e;
$custom-light: #6a6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#22367e",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 226.957,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3622,
    "c": 0.12445,
    "h": 267.9
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#22367E
secondary
#B19B4B
accent
#BF47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22367E

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

Preview Lab → · Contrast checker → · Palette generator →

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