#22347B#22347B

#22347B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.123 H 268.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#22347B
RGBrgb(34, 52, 123)
HSLhsl(228, 57%, 31%)
HSVhsv(228, 72%, 48%)
CMYKcmyk(72.4%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.40, 18.79, -42.61)
CIE-LCHlch(24.40, 46.57, 293.79°)
OKLaboklab(35.54% -0.0029 -0.1227)
OKLCHoklch(35.54% 0.123 268.6)
XYZxyz(5.4616, 4.2256, 19.2628)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22347B #7B6922
analogous
#22607B #22347B #3C227B
triadic
#22347B #7B2234 #347B22
tetradic
#22347B #7B2260 #7B6922 #227B3C
square
#22347B #7B2260 #7B6922 #227B3C
split-complementary
#22347B #7B3C22 #607B22
monochromatic
#070B1B #15204B #22347B #2F48AB #4A65CD

Accessibility & contrast

On white

11.38
#22347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22347B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22347B#FFFFFF#000000##FFFFFF
##22347B1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22347b;
/* rgb */ color: rgb(34, 52, 123);
/* oklch */ color: oklch(35.5% 0.123 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ba2',
    500: '#22347b',
    950: '#000000',
  },
}
SCSS
$custom: #22347b;
$custom-light: #6a6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#22347b",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 227.865,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.12272,
    "h": 268.6
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#22347B
secondary
#AE9A4B
accent
#C148E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22347B

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

Preview Lab → · Contrast checker → · Palette generator →

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