#1D22A6#1D22A6

#1D22A6 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.6% C 0.202 H 269.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1D22A6
RGBrgb(29, 34, 166)
HSLhsl(238, 70%, 38%)
HSVhsv(238, 83%, 65%)
CMYKcmyk(82.5%, 79.5%, 0%, 34.9%)
CIE-LABlab(24.19, 45.54, -69.59)
CIE-LCHlch(24.19, 83.16, 303.20°)
OKLaboklab(36.59% -0.0021 -0.2016)
OKLCHoklch(36.59% 0.202 269.4)
XYZxyz(7.9593, 4.1575, 36.4520)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D22A6 #A6A11D
analogous
#1D66A6 #1D22A6 #5C1DA6
triadic
#1D22A6 #A61D22 #22A61D
tetradic
#1D22A6 #A61D66 #A6A11D #1DA65C
square
#1D22A6 #A61D66 #A6A11D #1DA65C
split-complementary
#1D22A6 #A65C1D #66A61D
monochromatic
#0B0D3E #141772 #1D22A6 #272DD9 #5B60E2

Accessibility & contrast

On white

11.47
#1D22A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1D22A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D22A6
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D22A6#FFFFFF#000000##FFFFFF
##1D22A61.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d22a6;
/* rgb */ color: rgb(29, 34, 166);
/* oklch */ color: oklch(36.6% 0.202 269.4);
Tailwind
colors: {
  custom: {
    50: '#7560c2',
    500: '#1d22a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d22a6;
$custom-light: #7560c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d22a6",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 237.81,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.20158,
    "h": 269.4
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#1D22A6
secondary
#C6C259
accent
#E73BED
background
#F7F5FC
surface
#EEE9F8
border
#C9C5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1D22A6

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

Preview Lab → · Contrast checker → · Palette generator →

#1D22A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva