#22319F#22319F

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

Color values

HEX#22319F
RGBrgb(34, 49, 159)
HSLhsl(233, 65%, 38%)
HSVhsv(233, 79%, 62%)
CMYKcmyk(78.6%, 69.2%, 0%, 37.6%)
CIE-LABlab(26.85, 34.57, -60.94)
CIE-LCHlch(26.85, 70.06, 299.57°)
OKLaboklab(38.33% -0.0018 -0.1764)
OKLCHoklch(38.33% 0.176 269.4)
XYZxyz(8.0139, 5.0390, 33.3444)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22319F #9F9022
analogous
#226F9F #22319F #51229F
triadic
#22319F #9F2231 #319F22
tetradic
#22319F #9F226F #9F9022 #229F51
square
#22319F #9F226F #9F9022 #229F51
split-complementary
#22319F #9F5122 #6F9F22
monochromatic
#0C123A #17216D #22319F #2D41D1 #5F6EDD

Accessibility & contrast

On white

10.46
#22319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#22319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22319F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22319F#FFFFFF#000000##FFFFFF
##22319F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22319f;
/* rgb */ color: rgb(34, 49, 159);
/* oklch */ color: oklch(38.3% 0.176 269.4);
Tailwind
colors: {
  custom: {
    50: '#7369bc',
    500: '#22319f',
    950: '#000000',
  },
}
SCSS
$custom: #22319f;
$custom-light: #7369bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22319f",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 232.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.17643,
    "h": 269.4
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#22319F
secondary
#C1B55B
accent
#D440E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22319F

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

Preview Lab → · Contrast checker → · Palette generator →

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