#22357C#22357C

#22357C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.123 H 268.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#22357C
RGBrgb(34, 53, 124)
HSLhsl(227, 57%, 31%)
HSVhsv(227, 73%, 49%)
CMYKcmyk(72.6%, 57.3%, 0%, 51.4%)
CIE-LABlab(24.77, 18.48, -42.65)
CIE-LCHlch(24.77, 46.49, 293.43°)
OKLaboklab(35.84% -0.0038 -0.1228)
OKLCHoklch(35.84% 0.123 268.2)
XYZxyz(5.5696, 4.3410, 19.6092)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22357C #7C6922
analogous
#22627C #22357C #3C227C
triadic
#22357C #7C2235 #357C22
tetradic
#22357C #7C2262 #7C6922 #227C3C
square
#22357C #7C2262 #7C6922 #227C3C
split-complementary
#22357C #7C3C22 #627C22
monochromatic
#080C1C #15204C #22357C #2F4AAC #4B66CE

Accessibility & contrast

On white

11.24
#22357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22357C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22357C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22357C#FFFFFF#000000##FFFFFF
##22357C1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22357c;
/* rgb */ color: rgb(34, 53, 124);
/* oklch */ color: oklch(35.8% 0.123 268.2);
Tailwind
colors: {
  custom: {
    50: '#6a6ba2',
    500: '#22357c',
    950: '#000000',
  },
}
SCSS
$custom: #22357c;
$custom-light: #6a6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#22357c",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 227.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35836,
    "c": 0.12285,
    "h": 268.2
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#22357C
secondary
#AF9A4B
accent
#C048E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22357C

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

Preview Lab → · Contrast checker → · Palette generator →

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