#22348E#22348E

#22348E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.150 H 269.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#22348E
RGBrgb(34, 52, 142)
HSLhsl(230, 61%, 35%)
HSVhsv(230, 76%, 56%)
CMYKcmyk(76.1%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.01, 26.19, -51.89)
CIE-LCHlch(26.01, 58.12, 296.78°)
OKLaboklab(37.23% -0.0026 -0.1499)
OKLCHoklch(37.23% 0.15 269)
XYZxyz(6.7685, 4.7483, 26.1457)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22348E #8E7C22
analogous
#226A8E #22348E #46228E
triadic
#22348E #8E2234 #348E22
tetradic
#22348E #8E226A #8E7C22 #228E46
square
#22348E #8E226A #8E7C22 #228E46
split-complementary
#22348E #8E4622 #6A8E22
monochromatic
#0A102B #16225D #22348E #2E46BF #546AD6

Accessibility & contrast

On white

10.77
#22348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#22348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22348E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22348E#FFFFFF#000000##FFFFFF
##22348E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22348e;
/* rgb */ color: rgb(34, 52, 142);
/* oklch */ color: oklch(37.2% 0.150 269.0);
Tailwind
colors: {
  custom: {
    50: '#6e6bb0',
    500: '#22348e',
    950: '#000000',
  },
}
SCSS
$custom: #22348e;
$custom-light: #6e6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#22348e",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 230,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37231,
    "c": 0.14995,
    "h": 269
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#22348E
secondary
#BAA952
accent
#CA43E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #22348E

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

Preview Lab → · Contrast checker → · Palette generator →

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