#1D22B3#1D22B3

#1D22B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.1% C 0.217 H 268.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#1D22B3
RGBrgb(29, 34, 179)
HSLhsl(238, 72%, 41%)
HSVhsv(238, 84%, 70%)
CMYKcmyk(83.8%, 81%, 0%, 29.8%)
CIE-LABlab(25.74, 49.76, -74.83)
CIE-LCHlch(25.74, 89.87, 303.63°)
OKLaboklab(38.13% -0.0045 -0.2167)
OKLCHoklch(38.13% 0.217 268.8)
XYZxyz(9.2126, 4.6588, 43.0528)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D22B3 #B3AE1D
analogous
#1D6DB3 #1D22B3 #631DB3
triadic
#1D22B3 #B31D22 #22B31D
tetradic
#1D22B3 #B31D6D #B3AE1D #1DB363
square
#1D22B3 #B31D6D #B3AE1D #1DB363
split-complementary
#1D22B3 #B3631D #6DB31D
monochromatic
#0C0E4A #14187E #1D22B3 #3036DD #6469E6

Accessibility & contrast

On white

10.87
#1D22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D22B3
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D22B3#FFFFFF#000000##FFFFFF
##1D22B31.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d22b3;
/* rgb */ color: rgb(29, 34, 179);
/* oklch */ color: oklch(38.1% 0.217 268.8);
Tailwind
colors: {
  custom: {
    50: '#7861cb',
    500: '#1d22b3',
    950: '#000000',
  },
}
SCSS
$custom: #1d22b3;
$custom-light: #7861cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d22b3",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 238,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38127,
    "c": 0.21679,
    "h": 268.8
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#1D22B3
secondary
#CBC761
accent
#E939EF
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1D22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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