#22347E#22347E

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

Color values

HEX#22347E
RGBrgb(34, 52, 126)
HSLhsl(228, 58%, 31%)
HSVhsv(228, 73%, 49%)
CMYKcmyk(73%, 58.7%, 0%, 50.6%)
CIE-LABlab(24.65, 19.97, -44.12)
CIE-LCHlch(24.65, 48.42, 294.35°)
OKLaboklab(35.8% -0.0028 -0.1271)
OKLCHoklch(35.8% 0.127 268.7)
XYZxyz(5.6523, 4.3019, 20.2671)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22347E #7E6C22
analogous
#22627E #22347E #3E227E
triadic
#22347E #7E2234 #347E22
tetradic
#22347E #7E2262 #7E6C22 #227E3E
square
#22347E #7E2262 #7E6C22 #227E3E
split-complementary
#22347E #7E3E22 #627E22
monochromatic
#080C1E #15204E #22347E #2F48AE #4C65CF

Accessibility & contrast

On white

11.29
#22347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22347E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22347E#FFFFFF#000000##FFFFFF
##22347E1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22347e;
/* rgb */ color: rgb(34, 52, 126);
/* oklch */ color: oklch(35.8% 0.127 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ba4',
    500: '#22347e',
    950: '#000000',
  },
}
SCSS
$custom: #22347e;
$custom-light: #6a6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#22347e",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 228.261,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.12713,
    "h": 268.7
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#22347E
secondary
#B19D4B
accent
#C347E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22347E

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

Preview Lab → · Contrast checker → · Palette generator →

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