#22319B#22319B

#22319B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.171 H 269.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#22319B
RGBrgb(34, 49, 155)
HSLhsl(233, 64%, 37%)
HSVhsv(233, 78%, 61%)
CMYKcmyk(78.1%, 68.4%, 0%, 39.2%)
CIE-LABlab(26.45, 33.09, -59.14)
CIE-LCHlch(26.45, 67.77, 299.23°)
OKLaboklab(37.93% -0.0014 -0.1712)
OKLCHoklch(37.93% 0.171 269.5)
XYZxyz(7.6724, 4.9024, 31.5459)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22319B #9B8C22
analogous
#226E9B #22319B #50229B
triadic
#22319B #9B2231 #319B22
tetradic
#22319B #9B226E #9B8C22 #229B50
square
#22319B #9B226E #9B8C22 #229B50
split-complementary
#22319B #9B5022 #6E9B22
monochromatic
#0C1137 #172169 #22319B #2D41CD #5C6CDB

Accessibility & contrast

On white

10.60
#22319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#22319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22319B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22319B#FFFFFF#000000##FFFFFF
##22319B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22319b;
/* rgb */ color: rgb(34, 49, 155);
/* oklch */ color: oklch(37.9% 0.171 269.5);
Tailwind
colors: {
  custom: {
    50: '#7269ba',
    500: '#22319b',
    950: '#000000',
  },
}
SCSS
$custom: #22319b;
$custom-light: #7269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22319b",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 232.562,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.17119,
    "h": 269.5
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#22319B
secondary
#C0B359
accent
#D241E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22319B

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

Preview Lab → · Contrast checker → · Palette generator →

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