#22336C#22336C

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

Color values

HEX#22336C
RGBrgb(34, 51, 108)
HSLhsl(226, 52%, 28%)
HSVhsv(226, 69%, 42%)
CMYKcmyk(68.5%, 52.8%, 0%, 57.6%)
CIE-LABlab(22.96, 13.59, -35.36)
CIE-LCHlch(22.96, 37.89, 291.02°)
OKLaboklab(34.09% -0.0033 -0.1014)
OKLCHoklch(34.09% 0.101 268.2)
XYZxyz(4.5494, 3.7900, 14.6762)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22336C #6C5B22
analogous
#22586C #22336C #36226C
triadic
#22336C #6C2233 #336C22
tetradic
#22336C #6C2258 #6C5B22 #226C36
square
#22336C #6C2258 #6C5B22 #226C36
split-complementary
#22336C #6C3622 #586C22
monochromatic
#070B17 #131D3D #22336C #31499B #4462C4

Accessibility & contrast

On white

11.95
#22336C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22336C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22336C#FFFFFF#000000##FFFFFF
##22336C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#01346B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22336c;
/* rgb */ color: rgb(34, 51, 108);
/* oklch */ color: oklch(34.1% 0.101 268.2);
Tailwind
colors: {
  custom: {
    50: '#666a96',
    500: '#22336c',
    950: '#000000',
  },
}
SCSS
$custom: #22336c;
$custom-light: #666a96;
$custom-dark: #000000;
JSON
{
  "hex": "#22336c",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 226.216,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.10143,
    "h": 268.2
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22336C

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

Preview Lab → · Contrast checker → · Palette generator →

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