#22348B#22348B

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

Color values

HEX#22348B
RGBrgb(34, 52, 139)
HSLhsl(230, 61%, 34%)
HSVhsv(230, 76%, 55%)
CMYKcmyk(75.5%, 62.6%, 0%, 45.5%)
CIE-LABlab(25.74, 25.03, -50.46)
CIE-LCHlch(25.74, 56.33, 296.39°)
OKLaboklab(36.95% -0.0026 -0.1457)
OKLCHoklch(36.95% 0.146 269)
XYZxyz(6.5463, 4.6595, 24.9755)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22348B #8B7922
analogous
#22698B #22348B #45228B
triadic
#22348B #8B2234 #348B22
tetradic
#22348B #8B2269 #8B7922 #228B45
square
#22348B #8B2269 #8B7922 #228B45
split-complementary
#22348B #8B4522 #698B22
monochromatic
#0A0F29 #16225A #22348B #2E46BC #5369D5

Accessibility & contrast

On white

10.87
#22348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22348B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22348B#FFFFFF#000000##FFFFFF
##22348B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22348b;
/* rgb */ color: rgb(34, 52, 139);
/* oklch */ color: oklch(37.0% 0.146 269.0);
Tailwind
colors: {
  custom: {
    50: '#6e6bae',
    500: '#22348b',
    950: '#000000',
  },
}
SCSS
$custom: #22348b;
$custom-light: #6e6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#22348b",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 229.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.14576,
    "h": 269
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22348B

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

Preview Lab → · Contrast checker → · Palette generator →

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