#22336D#22336D

#22336D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.103 H 268.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#22336D
RGBrgb(34, 51, 109)
HSLhsl(226, 52%, 28%)
HSVhsv(226, 69%, 43%)
CMYKcmyk(68.8%, 53.2%, 0%, 57.3%)
CIE-LABlab(23.04, 13.98, -35.89)
CIE-LCHlch(23.04, 38.52, 291.29°)
OKLaboklab(34.17% -0.0031 -0.1029)
OKLCHoklch(34.17% 0.103 268.2)
XYZxyz(4.6029, 3.8114, 14.9581)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22336D #6D5C22
analogous
#22586D #22336D #36226D
triadic
#22336D #6D2233 #336D22
tetradic
#22336D #6D2258 #6D5C22 #226D36
square
#22336D #6D2258 #6D5C22 #226D36
split-complementary
#22336D #6D3622 #586D22
monochromatic
#070B17 #131D3E #22336D #31499C #4562C5

Accessibility & contrast

On white

11.92
#22336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#22336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22336D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22336D#FFFFFF#000000##FFFFFF
##22336D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123B6F
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22336d;
/* rgb */ color: rgb(34, 51, 109);
/* oklch */ color: oklch(34.2% 0.103 268.2);
Tailwind
colors: {
  custom: {
    50: '#666a97',
    500: '#22336d',
    950: '#000000',
  },
}
SCSS
$custom: #22336d;
$custom-light: #666a97;
$custom-dark: #000000;
JSON
{
  "hex": "#22336d",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 226.4,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34166,
    "c": 0.10297,
    "h": 268.2
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#22336D
secondary
#A18D4A
accent
#BB4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22336D

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

Preview Lab → · Contrast checker → · Palette generator →

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