#22336E#22336E

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

Color values

HEX#22336E
RGBrgb(34, 51, 110)
HSLhsl(227, 53%, 28%)
HSVhsv(227, 69%, 43%)
CMYKcmyk(69.1%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.11, 14.38, -36.41)
CIE-LCHlch(23.11, 39.15, 291.54°)
OKLaboklab(34.24% -0.003 -0.1045)
OKLCHoklch(34.24% 0.105 268.3)
XYZxyz(4.6570, 3.8331, 15.2433)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22336E #6E5D22
analogous
#22596E #22336E #37226E
triadic
#22336E #6E2233 #336E22
tetradic
#22336E #6E2259 #6E5D22 #226E37
square
#22336E #6E2259 #6E5D22 #226E37
split-complementary
#22336E #6E3722 #596E22
monochromatic
#070B17 #141D3F #22336E #30499D #4562C5

Accessibility & contrast

On white

11.89
#22336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22336E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22336E#FFFFFF#000000##FFFFFF
##22336E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22336e;
/* rgb */ color: rgb(34, 51, 110);
/* oklch */ color: oklch(34.2% 0.105 268.3);
Tailwind
colors: {
  custom: {
    50: '#676a98',
    500: '#22336e',
    950: '#000000',
  },
}
SCSS
$custom: #22336e;
$custom-light: #676a98;
$custom-dark: #000000;
JSON
{
  "hex": "#22336e",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 226.579,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34245,
    "c": 0.10451,
    "h": 268.3
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#22336E
secondary
#A18E4A
accent
#BC4CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #22336E

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

Preview Lab → · Contrast checker → · Palette generator →

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