#22326F#22326F

#22326F is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.107 H 269.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#22326F
RGBrgb(34, 50, 111)
HSLhsl(228, 53%, 28%)
HSVhsv(228, 69%, 44%)
CMYKcmyk(69.4%, 55%, 0%, 56.5%)
CIE-LABlab(22.89, 15.48, -37.41)
CIE-LCHlch(22.89, 40.49, 292.48°)
OKLaboklab(34.1% -0.0019 -0.1074)
OKLCHoklch(34.1% 0.107 269)
XYZxyz(4.6686, 3.7685, 15.5172)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22326F #6F5F22
analogous
#22586F #22326F #38226F
triadic
#22326F #6F2232 #326F22
tetradic
#22326F #6F2258 #6F5F22 #226F38
square
#22326F #6F2258 #6F5F22 #226F38
split-complementary
#22326F #6F3822 #586F22
monochromatic
#070B17 #141D40 #22326F #30479E #4560C6

Accessibility & contrast

On white

11.97
#22326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22326F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22326F#FFFFFF#000000##FFFFFF
##22326F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22326f;
/* rgb */ color: rgb(34, 50, 111);
/* oklch */ color: oklch(34.1% 0.107 269.0);
Tailwind
colors: {
  custom: {
    50: '#676999',
    500: '#22326f',
    950: '#000000',
  },
}
SCSS
$custom: #22326f;
$custom-light: #676999;
$custom-dark: #000000;
JSON
{
  "hex": "#22326f",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 227.532,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34102,
    "c": 0.10744,
    "h": 269
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#22326F
secondary
#A2904A
accent
#BE4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #22326F

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

Preview Lab → · Contrast checker → · Palette generator →

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