#22339E#22339E

#22339E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.173 H 269.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#22339E
RGBrgb(34, 51, 158)
HSLhsl(232, 65%, 38%)
HSVhsv(232, 78%, 62%)
CMYKcmyk(78.5%, 67.7%, 0%, 38%)
CIE-LABlab(27.23, 32.91, -59.70)
CIE-LCHlch(27.23, 68.17, 298.87°)
OKLaboklab(38.58% -0.0028 -0.1728)
OKLCHoklch(38.58% 0.173 269.1)
XYZxyz(8.0129, 5.1755, 32.9178)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22339E #9E8D22
analogous
#22719E #22339E #4F229E
triadic
#22339E #9E2233 #339E22
tetradic
#22339E #9E2271 #9E8D22 #229E4F
square
#22339E #9E2271 #9E8D22 #229E4F
split-complementary
#22339E #9E4F22 #719E22
monochromatic
#0C1239 #17236C #22339E #2D43D0 #5E6FDC

Accessibility & contrast

On white

10.32
#22339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#22339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22339E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22339E#FFFFFF#000000##FFFFFF
##22339E1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22339e;
/* rgb */ color: rgb(34, 51, 158);
/* oklch */ color: oklch(38.6% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#726bbc',
    500: '#22339e',
    950: '#000000',
  },
}
SCSS
$custom: #22339e;
$custom-light: #726bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22339e",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 231.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.17282,
    "h": 269.1
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#22339E
secondary
#C1B35B
accent
#D140E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22339E

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

Preview Lab → · Contrast checker → · Palette generator →

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