#22357E#22357E

#22357E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.126 H 268.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#22357E
RGBrgb(34, 53, 126)
HSLhsl(228, 58%, 31%)
HSVhsv(228, 73%, 49%)
CMYKcmyk(73%, 57.9%, 0%, 50.6%)
CIE-LABlab(24.93, 19.27, -43.66)
CIE-LCHlch(24.93, 47.72, 293.82°)
OKLaboklab(36.01% -0.0037 -0.1257)
OKLCHoklch(36.01% 0.126 268.3)
XYZxyz(5.6974, 4.3921, 20.2821)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22357E #7E6B22
analogous
#22637E #22357E #3D227E
triadic
#22357E #7E2235 #357E22
tetradic
#22357E #7E2263 #7E6B22 #227E3D
square
#22357E #7E2263 #7E6B22 #227E3D
split-complementary
#22357E #7E3D22 #637E22
monochromatic
#080C1E #15214E #22357E #2F49AE #4C67CF

Accessibility & contrast

On white

11.18
#22357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#22357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22357E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22357E#FFFFFF#000000##FFFFFF
##22357E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22357e;
/* rgb */ color: rgb(34, 53, 126);
/* oklch */ color: oklch(36.0% 0.126 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a6ba4',
    500: '#22357e',
    950: '#000000',
  },
}
SCSS
$custom: #22357e;
$custom-light: #6a6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#22357e",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 227.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36006,
    "c": 0.12579,
    "h": 268.3
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#22357E
secondary
#B19C4B
accent
#C147E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22357E

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

Preview Lab → · Contrast checker → · Palette generator →

#22357E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva