#1D226A#1D226A

#1D226A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.123 H 273.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1D226A
RGBrgb(29, 34, 106)
HSLhsl(236, 57%, 26%)
HSVhsv(236, 73%, 42%)
CMYKcmyk(72.6%, 67.9%, 0%, 58.4%)
CIE-LABlab(17.67, 24.01, -42.68)
CIE-LCHlch(17.67, 48.97, 299.36°)
OKLaboklab(30% 0.0069 -0.1232)
OKLCHoklch(30% 0.123 273.2)
XYZxyz(3.6794, 2.4455, 13.9110)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D226A #6A651D
analogous
#1D496A #1D226A #3F1D6A
triadic
#1D226A #6A1D22 #226A1D
tetradic
#1D226A #6A1D49 #6A651D #1D6A3F
square
#1D226A #6A1D49 #6A651D #1D6A3F
split-complementary
#1D226A #6A3F1D #496A1D
monochromatic
#070818 #10133A #1D226A #2A319A #3942C9

Accessibility & contrast

On white

14.10
#1D226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D226A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D226A#FFFFFF#000000##FFFFFF
##1D226A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d226a;
/* rgb */ color: rgb(29, 34, 106);
/* oklch */ color: oklch(30.0% 0.123 273.2);
Tailwind
colors: {
  custom: {
    50: '#655d95',
    500: '#1d226a',
    950: '#000000',
  },
}
SCSS
$custom: #1d226a;
$custom-light: #655d95;
$custom-dark: #000000;
JSON
{
  "hex": "#1d226a",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 236.104,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29999,
    "c": 0.1234,
    "h": 273.2
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#1D226A
secondary
#9F9944
accent
#D648E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D226A

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

Preview Lab → · Contrast checker → · Palette generator →

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