#22347D#22347D

#22347D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.126 H 268.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#22347D
RGBrgb(34, 52, 125)
HSLhsl(228, 57%, 31%)
HSVhsv(228, 73%, 49%)
CMYKcmyk(72.8%, 58.4%, 0%, 51%)
CIE-LABlab(24.56, 19.58, -43.62)
CIE-LCHlch(24.56, 47.81, 294.17°)
OKLaboklab(35.71% -0.0028 -0.1256)
OKLCHoklch(35.71% 0.126 268.7)
XYZxyz(5.5881, 4.2762, 19.9289)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22347D #7D6B22
analogous
#22617D #22347D #3D227D
triadic
#22347D #7D2234 #347D22
tetradic
#22347D #7D2261 #7D6B22 #227D3D
square
#22347D #7D2261 #7D6B22 #227D3D
split-complementary
#22347D #7D3D22 #617D22
monochromatic
#080C1D #15204D #22347D #2F48AD #4B65CE

Accessibility & contrast

On white

11.32
#22347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#22347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22347D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22347D#FFFFFF#000000##FFFFFF
##22347D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22347d;
/* rgb */ color: rgb(34, 52, 125);
/* oklch */ color: oklch(35.7% 0.126 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ba3',
    500: '#22347d',
    950: '#000000',
  },
}
SCSS
$custom: #22347d;
$custom-light: #6a6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#22347d",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 228.132,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35708,
    "c": 0.12567,
    "h": 268.7
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#22347D
secondary
#B09C4B
accent
#C247E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22347D

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

Preview Lab → · Contrast checker → · Palette generator →

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