#22349E#22349E

#22349E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.172 H 268.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#22349E
RGBrgb(34, 52, 158)
HSLhsl(231, 65%, 38%)
HSVhsv(231, 78%, 62%)
CMYKcmyk(78.5%, 67.1%, 0%, 38%)
CIE-LABlab(27.47, 32.26, -59.30)
CIE-LCHlch(27.47, 67.50, 298.55°)
OKLaboklab(38.76% -0.0033 -0.1716)
OKLCHoklch(38.76% 0.172 268.9)
XYZxyz(8.0571, 5.2638, 32.9325)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22349E #9E8C22
analogous
#22729E #22349E #4E229E
triadic
#22349E #9E2234 #349E22
tetradic
#22349E #9E2272 #9E8C22 #229E4E
square
#22349E #9E2272 #9E8C22 #229E4E
split-complementary
#22349E #9E4E22 #729E22
monochromatic
#0C1339 #17236C #22349E #2D45D0 #5E70DC

Accessibility & contrast

On white

10.23
#22349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#22349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22349E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22349E#FFFFFF#000000##FFFFFF
##22349E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #22349e;
/* rgb */ color: rgb(34, 52, 158);
/* oklch */ color: oklch(38.8% 0.172 268.9);
Tailwind
colors: {
  custom: {
    50: '#726bbc',
    500: '#22349e',
    950: '#000000',
  },
}
SCSS
$custom: #22349e;
$custom-light: #726bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22349e",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 231.29,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.17165,
    "h": 268.9
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#22349E
secondary
#C1B25B
accent
#CF40E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22349E

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

Preview Lab → · Contrast checker → · Palette generator →

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