#22319D#22319D

#22319D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.174 H 269.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#22319D
RGBrgb(34, 49, 157)
HSLhsl(233, 64%, 37%)
HSVhsv(233, 78%, 62%)
CMYKcmyk(78.3%, 68.8%, 0%, 38.4%)
CIE-LABlab(26.65, 33.83, -60.04)
CIE-LCHlch(26.65, 68.92, 299.40°)
OKLaboklab(38.13% -0.0016 -0.1738)
OKLCHoklch(38.13% 0.174 269.5)
XYZxyz(7.8417, 4.9702, 32.4378)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22319D #9D8E22
analogous
#226E9D #22319D #51229D
triadic
#22319D #9D2231 #319D22
tetradic
#22319D #9D226E #9D8E22 #229D51
square
#22319D #9D226E #9D8E22 #229D51
split-complementary
#22319D #9D5122 #6E9D22
monochromatic
#0C1238 #17216B #22319D #2D41CF #5D6DDC

Accessibility & contrast

On white

10.53
#22319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#22319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22319D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22319D#FFFFFF#000000##FFFFFF
##22319D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22319d;
/* rgb */ color: rgb(34, 49, 157);
/* oklch */ color: oklch(38.1% 0.174 269.5);
Tailwind
colors: {
  custom: {
    50: '#7269bb',
    500: '#22319d',
    950: '#000000',
  },
}
SCSS
$custom: #22319d;
$custom-light: #7269bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22319d",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 232.683,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.17382,
    "h": 269.5
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#22319D
secondary
#C1B45A
accent
#D340E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22319D

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

Preview Lab → · Contrast checker → · Palette generator →

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