#22326D#22326D

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

Color values

HEX#22326D
RGBrgb(34, 50, 109)
HSLhsl(227, 52%, 28%)
HSVhsv(227, 69%, 43%)
CMYKcmyk(68.8%, 54.1%, 0%, 57.3%)
CIE-LABlab(22.74, 14.69, -36.37)
CIE-LCHlch(22.74, 39.23, 292.00°)
OKLaboklab(33.94% -0.0021 -0.1043)
OKLCHoklch(33.94% 0.104 268.8)
XYZxyz(4.5597, 3.7250, 14.9437)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22326D #6D5D22
analogous
#22576D #22326D #37226D
triadic
#22326D #6D2232 #326D22
tetradic
#22326D #6D2257 #6D5D22 #226D37
square
#22326D #6D2257 #6D5D22 #226D37
split-complementary
#22326D #6D3722 #576D22
monochromatic
#070B17 #131D3E #22326D #31479C #4560C5

Accessibility & contrast

On white

12.03
#22326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#22326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22326D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22326D#FFFFFF#000000##FFFFFF
##22326D1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A6F
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22326d;
/* rgb */ color: rgb(34, 50, 109);
/* oklch */ color: oklch(33.9% 0.104 268.8);
Tailwind
colors: {
  custom: {
    50: '#666997',
    500: '#22326d',
    950: '#000000',
  },
}
SCSS
$custom: #22326d;
$custom-light: #666997;
$custom-dark: #000000;
JSON
{
  "hex": "#22326d",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 227.2,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3394,
    "c": 0.10437,
    "h": 268.8
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22326D

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

Preview Lab → · Contrast checker → · Palette generator →

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