#22326E#22326E

#22326E is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.106 H 268.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#22326E
RGBrgb(34, 50, 110)
HSLhsl(227, 53%, 28%)
HSVhsv(227, 69%, 43%)
CMYKcmyk(69.1%, 54.5%, 0%, 56.9%)
CIE-LABlab(22.82, 15.09, -36.89)
CIE-LCHlch(22.82, 39.86, 292.24°)
OKLaboklab(34.02% -0.002 -0.1059)
OKLCHoklch(34.02% 0.106 268.9)
XYZxyz(4.6138, 3.7466, 15.2289)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22326E #6E5E22
analogous
#22586E #22326E #38226E
triadic
#22326E #6E2232 #326E22
tetradic
#22326E #6E2258 #6E5E22 #226E38
square
#22326E #6E2258 #6E5E22 #226E38
split-complementary
#22326E #6E3822 #586E22
monochromatic
#070B17 #141D3F #22326E #30479D #4560C5

Accessibility & contrast

On white

12.00
#22326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22326E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22326E#FFFFFF#000000##FFFFFF
##22326E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3A70
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22326e;
/* rgb */ color: rgb(34, 50, 110);
/* oklch */ color: oklch(34.0% 0.106 268.9);
Tailwind
colors: {
  custom: {
    50: '#676998',
    500: '#22326e',
    950: '#000000',
  },
}
SCSS
$custom: #22326e;
$custom-light: #676998;
$custom-dark: #000000;
JSON
{
  "hex": "#22326e",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 227.368,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34021,
    "c": 0.10591,
    "h": 268.9
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#22326E
secondary
#A18F4A
accent
#BE4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #22326E

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

Preview Lab → · Contrast checker → · Palette generator →

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