#22326C#22326C

#22326C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.103 H 268.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#22326C
RGBrgb(34, 50, 108)
HSLhsl(227, 52%, 28%)
HSVhsv(227, 69%, 42%)
CMYKcmyk(68.5%, 53.7%, 0%, 57.6%)
CIE-LABlab(22.67, 14.30, -35.85)
CIE-LCHlch(22.67, 38.59, 291.75°)
OKLaboklab(33.86% -0.0022 -0.1028)
OKLCHoklch(33.86% 0.103 268.8)
XYZxyz(4.5061, 3.7036, 14.6618)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22326C #6C5C22
analogous
#22576C #22326C #37226C
triadic
#22326C #6C2232 #326C22
tetradic
#22326C #6C2257 #6C5C22 #226C37
square
#22326C #6C2257 #6C5C22 #226C37
split-complementary
#22326C #6C3722 #576C22
monochromatic
#070B17 #131C3D #22326C #31489B #4460C4

Accessibility & contrast

On white

12.06
#22326C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#22326C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22326C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22326C#FFFFFF#000000##FFFFFF
##22326C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6E
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22326c;
/* rgb */ color: rgb(34, 50, 108);
/* oklch */ color: oklch(33.9% 0.103 268.8);
Tailwind
colors: {
  custom: {
    50: '#666996',
    500: '#22326c',
    950: '#000000',
  },
}
SCSS
$custom: #22326c;
$custom-light: #666996;
$custom-dark: #000000;
JSON
{
  "hex": "#22326c",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 227.027,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3386,
    "c": 0.10283,
    "h": 268.8
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#22326C
secondary
#A08D4A
accent
#BD4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22326C

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

Preview Lab → · Contrast checker → · Palette generator →

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