#22366A#22366A

#22366A is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.094 H 265.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#22366A
RGBrgb(34, 54, 106)
HSLhsl(223, 51%, 27%)
HSVhsv(223, 68%, 42%)
CMYKcmyk(67.9%, 49.1%, 0%, 58.4%)
CIE-LABlab(23.73, 10.68, -32.84)
CIE-LCHlch(23.73, 34.53, 288.01°)
OKLaboklab(34.63% -0.0068 -0.0939)
OKLCHoklch(34.63% 0.094 265.9)
XYZxyz(4.5795, 4.0186, 14.1672)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22366A #6A5622
analogous
#225A6A #22366A #32226A
triadic
#22366A #6A2236 #366A22
tetradic
#22366A #6A225A #6A5622 #226A32
square
#22366A #6A225A #6A5622 #226A32
split-complementary
#22366A #6A3222 #5A6A22
monochromatic
#070C17 #131E3C #22366A #314E98 #4467C3

Accessibility & contrast

On white

11.64
#22366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#22366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22366A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22366A#FFFFFF#000000##FFFFFF
##22366A1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#0F3569
Tritanopia (blue-blind)
#00424A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22366a;
/* rgb */ color: rgb(34, 54, 106);
/* oklch */ color: oklch(34.6% 0.094 265.9);
Tailwind
colors: {
  custom: {
    50: '#666c95',
    500: '#22366a',
    950: '#000000',
  },
}
SCSS
$custom: #22366a;
$custom-light: #666c95;
$custom-dark: #000000;
JSON
{
  "hex": "#22366a",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 223.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.09416,
    "h": 265.9
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#22366A
secondary
#9E864A
accent
#B34DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22366A

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

Preview Lab → · Contrast checker → · Palette generator →

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