#22319C#22319C

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

Color values

HEX#22319C
RGBrgb(34, 49, 156)
HSLhsl(233, 64%, 37%)
HSVhsv(233, 78%, 61%)
CMYKcmyk(78.2%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.55, 33.46, -59.59)
CIE-LCHlch(26.55, 68.35, 299.32°)
OKLaboklab(38.03% -0.0015 -0.1725)
OKLCHoklch(38.03% 0.173 269.5)
XYZxyz(7.7567, 4.9361, 31.9900)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22319C #9C8D22
analogous
#226E9C #22319C #50229C
triadic
#22319C #9C2231 #319C22
tetradic
#22319C #9C226E #9C8D22 #229C50
square
#22319C #9C226E #9C8D22 #229C50
split-complementary
#22319C #9C5022 #6E9C22
monochromatic
#0C1138 #17216A #22319C #2D41CE #5D6CDC

Accessibility & contrast

On white

10.57
#22319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22319C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22319C#FFFFFF#000000##FFFFFF
##22319C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22319c;
/* rgb */ color: rgb(34, 49, 156);
/* oklch */ color: oklch(38.0% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#7269ba',
    500: '#22319c',
    950: '#000000',
  },
}
SCSS
$custom: #22319c;
$custom-light: #7269ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22319c",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 232.623,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38031,
    "c": 0.17251,
    "h": 269.5
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#22319C
secondary
#C0B45A
accent
#D341E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22319C

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

Preview Lab → · Contrast checker → · Palette generator →

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