#22357D#22357D

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

Color values

HEX#22357D
RGBrgb(34, 53, 125)
HSLhsl(227, 57%, 31%)
HSVhsv(227, 73%, 49%)
CMYKcmyk(72.8%, 57.6%, 0%, 51%)
CIE-LABlab(24.85, 18.88, -43.16)
CIE-LCHlch(24.85, 47.10, 293.62°)
OKLaboklab(35.92% -0.0037 -0.1243)
OKLCHoklch(35.92% 0.124 268.3)
XYZxyz(5.6332, 4.3664, 19.9440)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22357D #7D6A22
analogous
#22627D #22357D #3C227D
triadic
#22357D #7D2235 #357D22
tetradic
#22357D #7D2262 #7D6A22 #227D3C
square
#22357D #7D2262 #7D6A22 #227D3C
split-complementary
#22357D #7D3C22 #627D22
monochromatic
#080C1D #15214D #22357D #2F49AD #4B67CE

Accessibility & contrast

On white

11.21
#22357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22357D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22357D#FFFFFF#000000##FFFFFF
##22357D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22357d;
/* rgb */ color: rgb(34, 53, 125);
/* oklch */ color: oklch(35.9% 0.124 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a6ba3',
    500: '#22357d',
    950: '#000000',
  },
}
SCSS
$custom: #22357d;
$custom-light: #6a6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#22357d",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 227.473,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35921,
    "c": 0.12433,
    "h": 268.3
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#22357D
secondary
#B09B4B
accent
#C147E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22357D

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

Preview Lab → · Contrast checker → · Palette generator →

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