#22339D#22339D

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

Color values

HEX#22339D
RGBrgb(34, 51, 157)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 62%)
CMYKcmyk(78.3%, 67.5%, 0%, 38.4%)
CIE-LABlab(27.13, 32.54, -59.25)
CIE-LCHlch(27.13, 67.59, 298.77°)
OKLaboklab(38.48% -0.0027 -0.1715)
OKLCHoklch(38.48% 0.172 269.1)
XYZxyz(7.9272, 5.1412, 32.4663)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22339D #9D8C22
analogous
#22719D #22339D #4E229D
triadic
#22339D #9D2233 #339D22
tetradic
#22339D #9D2271 #9D8C22 #229D4E
square
#22339D #9D2271 #9D8C22 #229D4E
split-complementary
#22339D #9D4E22 #719D22
monochromatic
#0C1238 #17236B #22339D #2D43CF #5D6FDC

Accessibility & contrast

On white

10.35
#22339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#22339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22339D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22339D#FFFFFF#000000##FFFFFF
##22339D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22339d;
/* rgb */ color: rgb(34, 51, 157);
/* oklch */ color: oklch(38.5% 0.172 269.1);
Tailwind
colors: {
  custom: {
    50: '#726bbb',
    500: '#22339d',
    950: '#000000',
  },
}
SCSS
$custom: #22339d;
$custom-light: #726bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#22339d",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 231.707,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38484,
    "c": 0.1715,
    "h": 269.1
  },
  "luminance": 0.05142
}

Semantic roles & 50–950 ramp

primary
#22339D
secondary
#C1B25A
accent
#D040E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22339D

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

Preview Lab → · Contrast checker → · Palette generator →

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