#22358B#22358B

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

Color values

HEX#22358B
RGBrgb(34, 53, 139)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(75.5%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.01, 24.35, -50.02)
CIE-LCHlch(26.01, 55.63, 295.95°)
OKLaboklab(37.15% -0.0033 -0.1444)
OKLCHoklch(37.15% 0.144 268.7)
XYZxyz(6.5914, 4.7497, 24.9905)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22358B #8B7822
analogous
#226A8B #22358B #44228B
triadic
#22358B #8B2235 #358B22
tetradic
#22358B #8B226A #8B7822 #228B44
square
#22358B #8B226A #8B7822 #228B44
split-complementary
#22358B #8B4422 #6A8B22
monochromatic
#0A1029 #16225A #22358B #2E48BC #536AD5

Accessibility & contrast

On white

10.77
#22358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#22358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22358B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22358B#FFFFFF#000000##FFFFFF
##22358B1.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)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22358b;
/* rgb */ color: rgb(34, 53, 139);
/* oklch */ color: oklch(37.2% 0.144 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#22358b',
    950: '#000000',
  },
}
SCSS
$custom: #22358b;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#22358b",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 229.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37153,
    "c": 0.14448,
    "h": 268.7
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22358B

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

Preview Lab → · Contrast checker → · Palette generator →

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