#22348C#22348C

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

Color values

HEX#22348C
RGBrgb(34, 52, 140)
HSLhsl(230, 61%, 34%)
HSVhsv(230, 76%, 55%)
CMYKcmyk(75.7%, 62.9%, 0%, 45.1%)
CIE-LABlab(25.83, 25.42, -50.94)
CIE-LCHlch(25.83, 56.93, 296.52°)
OKLaboklab(37.05% -0.0026 -0.1471)
OKLCHoklch(37.05% 0.147 269)
XYZxyz(6.6197, 4.6888, 25.3620)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22348C #8C7A22
analogous
#22698C #22348C #45228C
triadic
#22348C #8C2234 #348C22
tetradic
#22348C #8C2269 #8C7A22 #228C45
square
#22348C #8C2269 #8C7A22 #228C45
split-complementary
#22348C #8C4522 #698C22
monochromatic
#0A0F2A #16225B #22348C #2E46BD #5369D5

Accessibility & contrast

On white

10.84
#22348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#22348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22348C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22348C#FFFFFF#000000##FFFFFF
##22348C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22348c;
/* rgb */ color: rgb(34, 52, 140);
/* oklch */ color: oklch(37.0% 0.147 269.0);
Tailwind
colors: {
  custom: {
    50: '#6e6bae',
    500: '#22348c',
    950: '#000000',
  },
}
SCSS
$custom: #22348c;
$custom-light: #6e6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#22348c",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 229.811,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37046,
    "c": 0.14716,
    "h": 269
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#22348C
secondary
#B9A751
accent
#C944E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22348C

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

Preview Lab → · Contrast checker → · Palette generator →

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