#22367D#22367D

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

Color values

HEX#22367D
RGBrgb(34, 54, 125)
HSLhsl(227, 57%, 31%)
HSVhsv(227, 73%, 49%)
CMYKcmyk(72.8%, 56.8%, 0%, 51%)
CIE-LABlab(25.13, 18.18, -42.69)
CIE-LCHlch(25.13, 46.40, 293.06°)
OKLaboklab(36.14% -0.0046 -0.1229)
OKLCHoklch(36.14% 0.123 267.9)
XYZxyz(5.6792, 4.4585, 19.9593)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22367D #7D6922
analogous
#22637D #22367D #3B227D
triadic
#22367D #7D2236 #367D22
tetradic
#22367D #7D2263 #7D6922 #227D3B
square
#22367D #7D2263 #7D6922 #227D3B
split-complementary
#22367D #7D3B22 #637D22
monochromatic
#080C1D #15214D #22367D #2F4BAD #4B68CE

Accessibility & contrast

On white

11.10
#22367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22367D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22367D#FFFFFF#000000##FFFFFF
##22367D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22367d;
/* rgb */ color: rgb(34, 54, 125);
/* oklch */ color: oklch(36.1% 0.123 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ca3',
    500: '#22367d',
    950: '#000000',
  },
}
SCSS
$custom: #22367d;
$custom-light: #6a6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#22367d",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 226.813,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36136,
    "c": 0.12298,
    "h": 267.9
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#22367D
secondary
#B09A4B
accent
#BF47E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #22367D

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

Preview Lab → · Contrast checker → · Palette generator →

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