#1822A1#1822A1

#1822A1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.197 H 268.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#1822A1
RGBrgb(24, 34, 161)
HSLhsl(236, 74%, 36%)
HSVhsv(236, 85%, 63%)
CMYKcmyk(85.1%, 78.9%, 0%, 36.9%)
CIE-LABlab(23.37, 43.59, -67.90)
CIE-LCHlch(23.37, 80.69, 302.70°)
OKLaboklab(35.79% -0.006 -0.1968)
OKLCHoklch(35.79% 0.197 268.3)
XYZxyz(7.3795, 3.9106, 34.0772)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1822A1 #A19718
analogous
#1867A1 #1822A1 #5318A1
triadic
#1822A1 #A11822 #22A118
tetradic
#1822A1 #A11867 #A19718 #18A153
square
#1822A1 #A11867 #A19718 #18A153
split-complementary
#1822A1 #A15318 #67A118
monochromatic
#080C36 #10176C #1822A1 #202DD6 #4F5AE5

Accessibility & contrast

On white

11.78
#1822A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1822A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1822A1
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1822A1#FFFFFF#000000##FFFFFF
##1822A11.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1822a1;
/* rgb */ color: rgb(24, 34, 161);
/* oklch */ color: oklch(35.8% 0.197 268.3);
Tailwind
colors: {
  custom: {
    50: '#725fbe',
    500: '#1822a1',
    950: '#000000',
  },
}
SCSS
$custom: #1822a1;
$custom-light: #725fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#1822a1",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 235.62,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35789,
    "c": 0.19686,
    "h": 268.3
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#1822A1
secondary
#C7BE4E
accent
#E337F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1822A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1822A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva