#22326A#22326A

#22326A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.100 H 268.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#22326A
RGBrgb(34, 50, 106)
HSLhsl(227, 51%, 27%)
HSVhsv(227, 68%, 42%)
CMYKcmyk(67.9%, 52.8%, 0%, 58.4%)
CIE-LABlab(22.52, 13.51, -34.79)
CIE-LCHlch(22.52, 37.32, 291.23°)
OKLaboklab(33.7% -0.0024 -0.0997)
OKLCHoklch(33.7% 0.1 268.6)
XYZxyz(4.4009, 3.6615, 14.1077)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22326A #6A5A22
analogous
#22566A #22326A #36226A
triadic
#22326A #6A2232 #326A22
tetradic
#22326A #6A2256 #6A5A22 #226A36
square
#22326A #6A2256 #6A5A22 #226A36
split-complementary
#22326A #6A3622 #566A22
monochromatic
#070B17 #131C3C #22326A #314898 #4460C3

Accessibility & contrast

On white

12.12
#22326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#22326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22326A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22326A#FFFFFF#000000##FFFFFF
##22326A1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13396C
Deuteranopia (green-blind)
#023369
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22326a;
/* rgb */ color: rgb(34, 50, 106);
/* oklch */ color: oklch(33.7% 0.100 268.6);
Tailwind
colors: {
  custom: {
    50: '#666995',
    500: '#22326a',
    950: '#000000',
  },
}
SCSS
$custom: #22326a;
$custom-light: #666995;
$custom-dark: #000000;
JSON
{
  "hex": "#22326a",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 226.667,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.09973,
    "h": 268.6
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#22326A
secondary
#9E8B4A
accent
#BB4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22326A

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

Preview Lab → · Contrast checker → · Palette generator →

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