#22326B#22326B

#22326B is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.101 H 268.7°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#22326B
RGBrgb(34, 50, 107)
HSLhsl(227, 52%, 28%)
HSVhsv(227, 68%, 42%)
CMYKcmyk(68.2%, 53.3%, 0%, 58%)
CIE-LABlab(22.59, 13.91, -35.32)
CIE-LCHlch(22.59, 37.96, 291.49°)
OKLaboklab(33.78% -0.0023 -0.1013)
OKLCHoklch(33.78% 0.101 268.7)
XYZxyz(4.4532, 3.6824, 14.3832)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22326B #6B5B22
analogous
#22576B #22326B #36226B
triadic
#22326B #6B2232 #326B22
tetradic
#22326B #6B2257 #6B5B22 #226B36
square
#22326B #6B2257 #6B5B22 #226B36
split-complementary
#22326B #6B3622 #576B22
monochromatic
#070B17 #131C3D #22326B #314899 #4460C4

Accessibility & contrast

On white

12.09
#22326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22326B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22326B#FFFFFF#000000##FFFFFF
##22326B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396D
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22326b;
/* rgb */ color: rgb(34, 50, 107);
/* oklch */ color: oklch(33.8% 0.101 268.7);
Tailwind
colors: {
  custom: {
    50: '#666996',
    500: '#22326b',
    950: '#000000',
  },
}
SCSS
$custom: #22326b;
$custom-light: #666996;
$custom-dark: #000000;
JSON
{
  "hex": "#22326b",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 226.849,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33781,
    "c": 0.10129,
    "h": 268.7
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#22326B
secondary
#9F8C4A
accent
#BC4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22326B

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

Preview Lab → · Contrast checker → · Palette generator →

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