#22348A#22348A

#22348A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.144 H 269.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#22348A
RGBrgb(34, 52, 138)
HSLhsl(230, 60%, 34%)
HSVhsv(230, 75%, 54%)
CMYKcmyk(75.4%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.65, 24.64, -49.98)
CIE-LCHlch(25.65, 55.73, 296.25°)
OKLaboklab(36.86% -0.0026 -0.1443)
OKLCHoklch(36.86% 0.144 269)
XYZxyz(6.4735, 4.6304, 24.5924)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22348A #8A7822
analogous
#22688A #22348A #44228A
triadic
#22348A #8A2234 #348A22
tetradic
#22348A #8A2268 #8A7822 #228A44
square
#22348A #8A2268 #8A7822 #228A44
split-complementary
#22348A #8A4422 #688A22
monochromatic
#0A0F28 #162159 #22348A #2E47BB #5269D4

Accessibility & contrast

On white

10.90
#22348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#22348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22348A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22348A#FFFFFF#000000##FFFFFF
##22348A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22348a;
/* rgb */ color: rgb(34, 52, 138);
/* oklch */ color: oklch(36.9% 0.144 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d6bad',
    500: '#22348a',
    950: '#000000',
  },
}
SCSS
$custom: #22348a;
$custom-light: #6d6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#22348a",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 229.615,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36863,
    "c": 0.14435,
    "h": 269
  },
  "luminance": 0.04631
}

Semantic roles & 50–950 ramp

primary
#22348A
secondary
#B8A650
accent
#C844E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22348A

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

Preview Lab → · Contrast checker → · Palette generator →

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