#22367C#22367C

#22367C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.121 H 267.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#22367C
RGBrgb(34, 54, 124)
HSLhsl(227, 57%, 31%)
HSVhsv(227, 73%, 49%)
CMYKcmyk(72.6%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.05, 17.78, -42.19)
CIE-LCHlch(25.05, 45.78, 292.85°)
OKLaboklab(36.05% -0.0047 -0.1214)
OKLCHoklch(36.05% 0.122 267.8)
XYZxyz(5.6157, 4.4331, 19.6246)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22367C #7C6822
analogous
#22637C #22367C #3B227C
triadic
#22367C #7C2236 #367C22
tetradic
#22367C #7C2263 #7C6822 #227C3B
square
#22367C #7C2263 #7C6822 #227C3B
split-complementary
#22367C #7C3B22 #637C22
monochromatic
#080C1C #15214C #22367C #2F4BAC #4B68CE

Accessibility & contrast

On white

11.13
#22367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#22367C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22367C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22367C#FFFFFF#000000##FFFFFF
##22367C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22367c;
/* rgb */ color: rgb(34, 54, 124);
/* oklch */ color: oklch(36.1% 0.121 267.8);
Tailwind
colors: {
  custom: {
    50: '#6a6ca2',
    500: '#22367c',
    950: '#000000',
  },
}
SCSS
$custom: #22367c;
$custom-light: #6a6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#22367c",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 226.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.1215,
    "h": 267.8
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#22367C
secondary
#AF994B
accent
#BE48E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22367C

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

Preview Lab → · Contrast checker → · Palette generator →

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