#22349B#22349B

#22349B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.168 H 268.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#22349B
RGBrgb(34, 52, 155)
HSLhsl(231, 64%, 37%)
HSVhsv(231, 78%, 61%)
CMYKcmyk(78.1%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.19, 31.13, -57.93)
CIE-LCHlch(27.19, 65.77, 298.25°)
OKLaboklab(38.47% -0.0032 -0.1676)
OKLCHoklch(38.47% 0.168 268.9)
XYZxyz(7.8020, 5.1618, 31.5891)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22349B #9B8922
analogous
#22719B #22349B #4C229B
triadic
#22349B #9B2234 #349B22
tetradic
#22349B #9B2271 #9B8922 #229B4C
square
#22349B #9B2271 #9B8922 #229B4C
split-complementary
#22349B #9B4C22 #719B22
monochromatic
#0C1237 #172369 #22349B #2D45CD #5C6FDB

Accessibility & contrast

On white

10.33
#22349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22349B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22349B#FFFFFF#000000##FFFFFF
##22349B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22349b;
/* rgb */ color: rgb(34, 52, 155);
/* oklch */ color: oklch(38.5% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#726bb9',
    500: '#22349b',
    950: '#000000',
  },
}
SCSS
$custom: #22349b;
$custom-light: #726bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#22349b",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 231.074,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38468,
    "c": 0.16766,
    "h": 268.9
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22349B

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

Preview Lab → · Contrast checker → · Palette generator →

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