#22339C#22339C

#22339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.170 H 269.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#22339C
RGBrgb(34, 51, 156)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 61%)
CMYKcmyk(78.2%, 67.3%, 0%, 38.8%)
CIE-LABlab(27.04, 32.16, -58.79)
CIE-LCHlch(27.04, 67.02, 298.68°)
OKLaboklab(38.39% -0.0026 -0.1702)
OKLCHoklch(38.39% 0.17 269.1)
XYZxyz(7.8422, 5.1072, 32.0185)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22339C #9C8B22
analogous
#22709C #22339C #4E229C
triadic
#22339C #9C2233 #339C22
tetradic
#22339C #9C2270 #9C8B22 #229C4E
square
#22339C #9C2270 #9C8B22 #229C4E
split-complementary
#22339C #9C4E22 #709C22
monochromatic
#0C1238 #17236A #22339C #2D43CE #5D6EDC

Accessibility & contrast

On white

10.39
#22339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#22339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22339C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22339C#FFFFFF#000000##FFFFFF
##22339C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22339c;
/* rgb */ color: rgb(34, 51, 156);
/* oklch */ color: oklch(38.4% 0.170 269.1);
Tailwind
colors: {
  custom: {
    50: '#726aba',
    500: '#22339c',
    950: '#000000',
  },
}
SCSS
$custom: #22339c;
$custom-light: #726aba;
$custom-dark: #000000;
JSON
{
  "hex": "#22339c",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 231.639,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.17018,
    "h": 269.1
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#22339C
secondary
#C0B25A
accent
#D041E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22339C

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

Preview Lab → · Contrast checker → · Palette generator →

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