#22366C#22366C

#22366C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.8% C 0.097 H 266.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#22366C
RGBrgb(34, 54, 108)
HSLhsl(224, 52%, 28%)
HSVhsv(224, 69%, 42%)
CMYKcmyk(68.5%, 50%, 0%, 57.6%)
CIE-LABlab(23.87, 11.47, -33.91)
CIE-LCHlch(23.87, 35.79, 288.68°)
OKLaboklab(34.78% -0.0065 -0.097)
OKLCHoklch(34.78% 0.097 266.2)
XYZxyz(4.6847, 4.0607, 14.7214)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22366C #6C5822
analogous
#225B6C #22366C #33226C
triadic
#22366C #6C2236 #366C22
tetradic
#22366C #6C225B #6C5822 #226C33
square
#22366C #6C225B #6C5822 #226C33
split-complementary
#22366C #6C3322 #5B6C22
monochromatic
#070C17 #131F3D #22366C #314D9B #4467C4

Accessibility & contrast

On white

11.59
#22366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22366C
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22366C#FFFFFF#000000##FFFFFF
##22366C1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6E
Deuteranopia (green-blind)
#0B366B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22366c;
/* rgb */ color: rgb(34, 54, 108);
/* oklch */ color: oklch(34.8% 0.097 266.2);
Tailwind
colors: {
  custom: {
    50: '#666c96',
    500: '#22366c',
    950: '#000000',
  },
}
SCSS
$custom: #22366c;
$custom-light: #666c96;
$custom-dark: #000000;
JSON
{
  "hex": "#22366c",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 223.784,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34777,
    "c": 0.09726,
    "h": 266.2
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#22366C
secondary
#A0884A
accent
#B54CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22366C

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

Preview Lab → · Contrast checker → · Palette generator →

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