#22336A#22336A

#22336A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.098 H 267.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#22336A
RGBrgb(34, 51, 106)
HSLhsl(226, 51%, 27%)
HSVhsv(226, 68%, 42%)
CMYKcmyk(67.9%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.82, 12.80, -34.31)
CIE-LCHlch(22.82, 36.62, 290.46°)
OKLaboklab(33.93% -0.0035 -0.0983)
OKLCHoklch(33.93% 0.098 267.9)
XYZxyz(4.4441, 3.7479, 14.1221)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22336A #6A5922
analogous
#22576A #22336A #35226A
triadic
#22336A #6A2233 #336A22
tetradic
#22336A #6A2257 #6A5922 #226A35
square
#22336A #6A2257 #6A5922 #226A35
split-complementary
#22336A #6A3522 #576A22
monochromatic
#070B17 #131D3C #22336A #314998 #4462C3

Accessibility & contrast

On white

12.00
#22336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#22336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22336A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22336A#FFFFFF#000000##FFFFFF
##22336A1.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)
#153A6C
Deuteranopia (green-blind)
#053369
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22336a;
/* rgb */ color: rgb(34, 51, 106);
/* oklch */ color: oklch(33.9% 0.098 267.9);
Tailwind
colors: {
  custom: {
    50: '#666a95',
    500: '#22336a',
    950: '#000000',
  },
}
SCSS
$custom: #22336a;
$custom-light: #666a95;
$custom-dark: #000000;
JSON
{
  "hex": "#22336a",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 225.833,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.09832,
    "h": 267.9
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#22336A
secondary
#9E8A4A
accent
#B94DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22336A

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

Preview Lab → · Contrast checker → · Palette generator →

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