#22318E#22318E

#22318E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.154 H 269.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#22318E
RGBrgb(34, 49, 142)
HSLhsl(232, 61%, 35%)
HSVhsv(232, 76%, 56%)
CMYKcmyk(76.1%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.23, 28.21, -53.16)
CIE-LCHlch(25.23, 60.19, 297.96°)
OKLaboklab(36.66% -0.0006 -0.1537)
OKLCHoklch(36.66% 0.154 269.8)
XYZxyz(6.6388, 4.4890, 26.1025)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22318E #8E7F22
analogous
#22678E #22318E #49228E
triadic
#22318E #8E2231 #318E22
tetradic
#22318E #8E2267 #8E7F22 #228E49
square
#22318E #8E2267 #8E7F22 #228E49
split-complementary
#22318E #8E4922 #678E22
monochromatic
#0A0F2B #16205D #22318E #2E42BF #5466D6

Accessibility & contrast

On white

11.06
#22318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#22318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22318E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22318E#FFFFFF#000000##FFFFFF
##22318E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22318e;
/* rgb */ color: rgb(34, 49, 142);
/* oklch */ color: oklch(36.7% 0.154 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f69b0',
    500: '#22318e',
    950: '#000000',
  },
}
SCSS
$custom: #22318e;
$custom-light: #6f69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22318e",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 231.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36657,
    "c": 0.15369,
    "h": 269.8
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#22318E
secondary
#BAAB52
accent
#CE43E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #22318E

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

Preview Lab → · Contrast checker → · Palette generator →

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