#22318C#22318C

#22318C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.151 H 269.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#22318C
RGBrgb(34, 49, 140)
HSLhsl(232, 61%, 34%)
HSVhsv(232, 76%, 55%)
CMYKcmyk(75.7%, 65%, 0%, 45.1%)
CIE-LABlab(25.04, 27.45, -52.22)
CIE-LCHlch(25.04, 59.00, 297.73°)
OKLaboklab(36.47% -0.0005 -0.1509)
OKLCHoklch(36.47% 0.151 269.8)
XYZxyz(6.4900, 4.4295, 25.3188)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22318C #8C7D22
analogous
#22668C #22318C #48228C
triadic
#22318C #8C2231 #318C22
tetradic
#22318C #8C2266 #8C7D22 #228C48
square
#22318C #8C2266 #8C7D22 #228C48
split-complementary
#22318C #8C4822 #668C22
monochromatic
#0A0F2A #16205B #22318C #2E42BD #5366D5

Accessibility & contrast

On white

11.13
#22318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#22318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22318C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22318C#FFFFFF#000000##FFFFFF
##22318C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22318c;
/* rgb */ color: rgb(34, 49, 140);
/* oklch */ color: oklch(36.5% 0.151 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e69ae',
    500: '#22318c',
    950: '#000000',
  },
}
SCSS
$custom: #22318c;
$custom-light: #6e69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22318c",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 231.509,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.15094,
    "h": 269.8
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#22318C
secondary
#B9AA51
accent
#CD44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22318C

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

Preview Lab → · Contrast checker → · Palette generator →

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