#22347C#22347C

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

Color values

HEX#22347C
RGBrgb(34, 52, 124)
HSLhsl(228, 57%, 31%)
HSVhsv(228, 73%, 49%)
CMYKcmyk(72.6%, 58.1%, 0%, 51.4%)
CIE-LABlab(24.48, 19.18, -43.12)
CIE-LCHlch(24.48, 47.19, 293.99°)
OKLaboklab(35.62% -0.0029 -0.1242)
OKLCHoklch(35.62% 0.124 268.7)
XYZxyz(5.5245, 4.2507, 19.5942)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22347C #7C6A22
analogous
#22617C #22347C #3D227C
triadic
#22347C #7C2234 #347C22
tetradic
#22347C #7C2261 #7C6A22 #227C3D
square
#22347C #7C2261 #7C6A22 #227C3D
split-complementary
#22347C #7C3D22 #617C22
monochromatic
#080C1C #15204C #22347C #2F48AC #4B65CE

Accessibility & contrast

On white

11.35
#22347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#22347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22347C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22347C#FFFFFF#000000##FFFFFF
##22347C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22347c;
/* rgb */ color: rgb(34, 52, 124);
/* oklch */ color: oklch(35.6% 0.124 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ba2',
    500: '#22347c',
    950: '#000000',
  },
}
SCSS
$custom: #22347c;
$custom-light: #6a6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#22347c",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 228,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.1242,
    "h": 268.7
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#22347C
secondary
#AF9B4B
accent
#C248E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22347C

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

Preview Lab → · Contrast checker → · Palette generator →

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