#22358F#22358F

#22358F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.150 H 268.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#22358F
RGBrgb(34, 53, 143)
HSLhsl(230, 62%, 35%)
HSVhsv(230, 76%, 56%)
CMYKcmyk(76.2%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.36, 25.89, -51.93)
CIE-LCHlch(26.36, 58.03, 296.50°)
OKLaboklab(37.52% -0.0034 -0.15)
OKLCHoklch(37.52% 0.15 268.7)
XYZxyz(6.8890, 4.8687, 26.5580)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22358F #8F7C22
analogous
#226C8F #22358F #45228F
triadic
#22358F #8F2235 #358F22
tetradic
#22358F #8F226C #8F7C22 #228F45
square
#22358F #8F226C #8F7C22 #228F45
split-complementary
#22358F #8F4522 #6C8F22
monochromatic
#0A102C #16235E #22358F #2E47C0 #556BD7

Accessibility & contrast

On white

10.64
#22358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#22358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22358F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22358F#FFFFFF#000000##FFFFFF
##22358F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22358f;
/* rgb */ color: rgb(34, 53, 143);
/* oklch */ color: oklch(37.5% 0.150 268.7);
Tailwind
colors: {
  custom: {
    50: '#6e6cb1',
    500: '#22358f',
    950: '#000000',
  },
}
SCSS
$custom: #22358f;
$custom-light: #6e6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#22358f",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 229.541,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37519,
    "c": 0.15008,
    "h": 268.7
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#22358F
secondary
#BAA852
accent
#C943E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #22358F

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

Preview Lab → · Contrast checker → · Palette generator →

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