#22358D#22358D

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

Color values

HEX#22358D
RGBrgb(34, 53, 141)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(75.9%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.18, 25.12, -50.98)
CIE-LCHlch(26.18, 56.83, 296.23°)
OKLaboklab(37.34% -0.0033 -0.1472)
OKLCHoklch(37.34% 0.147 268.7)
XYZxyz(6.7388, 4.8087, 25.7671)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22358D #8D7A22
analogous
#226B8D #22358D #45228D
triadic
#22358D #8D2235 #358D22
tetradic
#22358D #8D226B #8D7A22 #228D45
square
#22358D #8D226B #8D7A22 #228D45
split-complementary
#22358D #8D4522 #6B8D22
monochromatic
#0A102A #16225C #22358D #2E48BE #546BD6

Accessibility & contrast

On white

10.70
#22358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22358D
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22358D#FFFFFF#000000##FFFFFF
##22358D1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22358d;
/* rgb */ color: rgb(34, 53, 141);
/* oklch */ color: oklch(37.3% 0.147 268.7);
Tailwind
colors: {
  custom: {
    50: '#6e6caf',
    500: '#22358d',
    950: '#000000',
  },
}
SCSS
$custom: #22358d;
$custom-light: #6e6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#22358d",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 229.346,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.14729,
    "h": 268.7
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#22358D
secondary
#B9A751
accent
#C844E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22358D

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

Preview Lab → · Contrast checker → · Palette generator →

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