#22358C#22358C

#22358C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.146 H 268.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#22358C
RGBrgb(34, 53, 140)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(75.7%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.10, 24.74, -50.50)
CIE-LCHlch(26.10, 56.23, 296.10°)
OKLaboklab(37.24% -0.0033 -0.1458)
OKLCHoklch(37.24% 0.146 268.7)
XYZxyz(6.6648, 4.7790, 25.3771)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22358C #8C7922
analogous
#226A8C #22358C #44228C
triadic
#22358C #8C2235 #358C22
tetradic
#22358C #8C226A #8C7922 #228C44
square
#22358C #8C226A #8C7922 #228C44
split-complementary
#22358C #8C4422 #6A8C22
monochromatic
#0A102A #16225B #22358C #2E48BD #536AD5

Accessibility & contrast

On white

10.74
#22358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#22358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22358C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22358C#FFFFFF#000000##FFFFFF
##22358C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22358c;
/* rgb */ color: rgb(34, 53, 140);
/* oklch */ color: oklch(37.2% 0.146 268.7);
Tailwind
colors: {
  custom: {
    50: '#6e6cae',
    500: '#22358c',
    950: '#000000',
  },
}
SCSS
$custom: #22358c;
$custom-light: #6e6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#22358c",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 229.245,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37244,
    "c": 0.14589,
    "h": 268.7
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#22358C
secondary
#B9A651
accent
#C744E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22358C

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

Preview Lab → · Contrast checker → · Palette generator →

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