#22347A#22347A

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

Color values

HEX#22347A
RGBrgb(34, 52, 122)
HSLhsl(228, 56%, 31%)
HSVhsv(228, 72%, 48%)
CMYKcmyk(72.1%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.32, 18.40, -42.11)
CIE-LCHlch(24.32, 45.95, 293.60°)
OKLaboklab(35.45% -0.003 -0.1212)
OKLCHoklch(35.45% 0.121 268.6)
XYZxyz(5.3993, 4.2007, 18.9348)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22347A #7A6822
analogous
#22607A #22347A #3C227A
triadic
#22347A #7A2234 #347A22
tetradic
#22347A #7A2260 #7A6822 #227A3C
square
#22347A #7A2260 #7A6822 #227A3C
split-complementary
#22347A #7A3C22 #607A22
monochromatic
#070B1A #15204A #22347A #2F48AA #4A65CD

Accessibility & contrast

On white

11.41
#22347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#22347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22347A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22347A#FFFFFF#000000##FFFFFF
##22347A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22347a;
/* rgb */ color: rgb(34, 52, 122);
/* oklch */ color: oklch(35.5% 0.121 268.6);
Tailwind
colors: {
  custom: {
    50: '#696ba1',
    500: '#22347a',
    950: '#000000',
  },
}
SCSS
$custom: #22347a;
$custom-light: #696ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#22347a",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 227.727,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35452,
    "c": 0.12125,
    "h": 268.6
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22347A

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

Preview Lab → · Contrast checker → · Palette generator →

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