#22347F#22347F

#22347F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.129 H 268.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#22347F
RGBrgb(34, 52, 127)
HSLhsl(228, 58%, 32%)
HSVhsv(228, 73%, 50%)
CMYKcmyk(73.2%, 59.1%, 0%, 50.2%)
CIE-LABlab(24.73, 20.36, -44.61)
CIE-LCHlch(24.73, 49.04, 294.53°)
OKLaboklab(35.88% -0.0027 -0.1286)
OKLCHoklch(35.88% 0.129 268.8)
XYZxyz(5.7171, 4.3278, 20.6086)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22347F #7F6D22
analogous
#22637F #22347F #3F227F
triadic
#22347F #7F2234 #347F22
tetradic
#22347F #7F2263 #7F6D22 #227F3F
square
#22347F #7F2263 #7F6D22 #227F3F
split-complementary
#22347F #7F3F22 #637F22
monochromatic
#080C1E #15204F #22347F #2F48AF #4C66CF

Accessibility & contrast

On white

11.26
#22347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22347F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22347F#FFFFFF#000000##FFFFFF
##22347F1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22347f;
/* rgb */ color: rgb(34, 52, 127);
/* oklch */ color: oklch(35.9% 0.129 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6ba5',
    500: '#22347f',
    950: '#000000',
  },
}
SCSS
$custom: #22347f;
$custom-light: #6b6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#22347f",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 228.387,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35881,
    "c": 0.1286,
    "h": 268.8
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22347F

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

Preview Lab → · Contrast checker → · Palette generator →

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