#22357F#22357F

#22357F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.127 H 268.4°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#22357F
RGBrgb(34, 53, 127)
HSLhsl(228, 58%, 32%)
HSVhsv(228, 73%, 50%)
CMYKcmyk(73.2%, 58.3%, 0%, 50.2%)
CIE-LABlab(25.01, 19.66, -44.16)
CIE-LCHlch(25.01, 48.34, 294.00°)
OKLaboklab(36.09% -0.0036 -0.1272)
OKLCHoklch(36.09% 0.127 268.4)
XYZxyz(5.7622, 4.4180, 20.6236)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22357F #7F6C22
analogous
#22647F #22357F #3E227F
triadic
#22357F #7F2235 #357F22
tetradic
#22357F #7F2264 #7F6C22 #227F3E
square
#22357F #7F2264 #7F6C22 #227F3E
split-complementary
#22357F #7F3E22 #647F22
monochromatic
#080D1E #15214F #22357F #2F49AF #4C67CF

Accessibility & contrast

On white

11.15
#22357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22357F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22357F#FFFFFF#000000##FFFFFF
##22357F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22357f;
/* rgb */ color: rgb(34, 53, 127);
/* oklch */ color: oklch(36.1% 0.127 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a6ba5',
    500: '#22357f',
    950: '#000000',
  },
}
SCSS
$custom: #22357f;
$custom-light: #6a6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#22357f",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 227.742,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.12726,
    "h": 268.4
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22357F

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

Preview Lab → · Contrast checker → · Palette generator →

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