#22349A#22349A

#22349A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.166 H 268.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#22349A
RGBrgb(34, 52, 154)
HSLhsl(231, 64%, 37%)
HSVhsv(231, 78%, 60%)
CMYKcmyk(77.9%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.10, 30.76, -57.48)
CIE-LCHlch(27.10, 65.19, 298.15°)
OKLaboklab(38.37% -0.0031 -0.1663)
OKLCHoklch(38.37% 0.166 268.9)
XYZxyz(7.7184, 5.1283, 31.1487)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22349A #9A8822
analogous
#22709A #22349A #4C229A
triadic
#22349A #9A2234 #349A22
tetradic
#22349A #9A2270 #9A8822 #229A4C
square
#22349A #9A2270 #9A8822 #229A4C
split-complementary
#22349A #9A4C22 #709A22
monochromatic
#0C1236 #172368 #22349A #2D45CC #5B6FDB

Accessibility & contrast

On white

10.37
#22349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#22349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22349A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22349A#FFFFFF#000000##FFFFFF
##22349A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22349a;
/* rgb */ color: rgb(34, 52, 154);
/* oklch */ color: oklch(38.4% 0.166 268.9);
Tailwind
colors: {
  custom: {
    50: '#716bb9',
    500: '#22349a',
    950: '#000000',
  },
}
SCSS
$custom: #22349a;
$custom-light: #716bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#22349a",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 231,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.16633,
    "h": 268.9
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#22349A
secondary
#BFB058
accent
#CE41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22349A

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

Preview Lab → · Contrast checker → · Palette generator →

#22349A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva