#22319E#22319E

#22319E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.175 H 269.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#22319E
RGBrgb(34, 49, 158)
HSLhsl(233, 65%, 38%)
HSVhsv(233, 78%, 62%)
CMYKcmyk(78.5%, 69%, 0%, 38%)
CIE-LABlab(26.75, 34.20, -60.49)
CIE-LCHlch(26.75, 69.49, 299.48°)
OKLaboklab(38.23% -0.0017 -0.1751)
OKLCHoklch(38.23% 0.175 269.4)
XYZxyz(7.9274, 5.0044, 32.8893)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22319E #9E8F22
analogous
#226F9E #22319E #51229E
triadic
#22319E #9E2231 #319E22
tetradic
#22319E #9E226F #9E8F22 #229E51
square
#22319E #9E226F #9E8F22 #229E51
split-complementary
#22319E #9E5122 #6F9E22
monochromatic
#0C1239 #17216C #22319E #2D41D0 #5E6DDC

Accessibility & contrast

On white

10.49
#22319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#22319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22319E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22319E#FFFFFF#000000##FFFFFF
##22319E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22319e;
/* rgb */ color: rgb(34, 49, 158);
/* oklch */ color: oklch(38.2% 0.175 269.4);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#22319e',
    950: '#000000',
  },
}
SCSS
$custom: #22319e;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22319e",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 232.742,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38232,
    "c": 0.17513,
    "h": 269.4
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#22319E
secondary
#C1B55B
accent
#D340E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22319E

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

Preview Lab → · Contrast checker → · Palette generator →

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