#22336F#22336F

#22336F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.106 H 268.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#22336F
RGBrgb(34, 51, 111)
HSLhsl(227, 53%, 28%)
HSVhsv(227, 69%, 44%)
CMYKcmyk(69.4%, 54.1%, 0%, 56.5%)
CIE-LABlab(23.19, 14.77, -36.94)
CIE-LCHlch(23.19, 39.78, 291.80°)
OKLaboklab(34.33% -0.0029 -0.106)
OKLCHoklch(34.33% 0.106 268.4)
XYZxyz(4.7118, 3.8550, 15.5316)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22336F #6F5E22
analogous
#22596F #22336F #37226F
triadic
#22336F #6F2233 #336F22
tetradic
#22336F #6F2259 #6F5E22 #226F37
square
#22336F #6F2259 #6F5E22 #226F37
split-complementary
#22336F #6F3722 #596F22
monochromatic
#070B17 #141D40 #22336F #30499E #4562C6

Accessibility & contrast

On white

11.86
#22336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#22336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22336F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22336F#FFFFFF#000000##FFFFFF
##22336F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22336f;
/* rgb */ color: rgb(34, 51, 111);
/* oklch */ color: oklch(34.3% 0.106 268.4);
Tailwind
colors: {
  custom: {
    50: '#676a99',
    500: '#22336f',
    950: '#000000',
  },
}
SCSS
$custom: #22336f;
$custom-light: #676a99;
$custom-dark: #000000;
JSON
{
  "hex": "#22336f",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 226.753,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34325,
    "c": 0.10605,
    "h": 268.4
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#22336F
secondary
#A28F4A
accent
#BC4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #22336F

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

Preview Lab → · Contrast checker → · Palette generator →

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