#22357A#22357A

#22357A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.120 H 268.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#22357A
RGBrgb(34, 53, 122)
HSLhsl(227, 56%, 31%)
HSVhsv(227, 72%, 48%)
CMYKcmyk(72.1%, 56.6%, 0%, 52.2%)
CIE-LABlab(24.61, 17.69, -41.65)
CIE-LCHlch(24.61, 45.25, 293.02°)
OKLaboklab(35.67% -0.0039 -0.1198)
OKLCHoklch(35.67% 0.12 268.1)
XYZxyz(5.4444, 4.2909, 18.9499)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22357A #7A6722
analogous
#22617A #22357A #3B227A
triadic
#22357A #7A2235 #357A22
tetradic
#22357A #7A2261 #7A6722 #227A3B
square
#22357A #7A2261 #7A6722 #227A3B
split-complementary
#22357A #7A3B22 #617A22
monochromatic
#070B1A #15204A #22357A #2F4AAA #4A66CD

Accessibility & contrast

On white

11.30
#22357A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#22357A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22357A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22357A#FFFFFF#000000##FFFFFF
##22357A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22357a;
/* rgb */ color: rgb(34, 53, 122);
/* oklch */ color: oklch(35.7% 0.120 268.1);
Tailwind
colors: {
  custom: {
    50: '#696ba1',
    500: '#22357a',
    950: '#000000',
  },
}
SCSS
$custom: #22357a;
$custom-light: #696ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#22357a",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 122
  },
  "hsl": {
    "h": 227.045,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.11989,
    "h": 268.1
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#22357A
secondary
#AD984B
accent
#BF48E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22357A

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

Preview Lab → · Contrast checker → · Palette generator →

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