#1D266A#1D266A

#1D266A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.118 H 271.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1D266A
RGBrgb(29, 38, 106)
HSLhsl(233, 57%, 26%)
HSVhsv(233, 73%, 42%)
CMYKcmyk(72.6%, 64.2%, 0%, 58.4%)
CIE-LABlab(18.75, 21.20, -40.92)
CIE-LCHlch(18.75, 46.09, 297.39°)
OKLaboklab(30.79% 0.0036 -0.118)
OKLCHoklch(30.79% 0.118 271.7)
XYZxyz(3.8004, 2.6877, 13.9514)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D266A #6A611D
analogous
#1D4D6A #1D266A #3B1D6A
triadic
#1D266A #6A1D26 #266A1D
tetradic
#1D266A #6A1D4D #6A611D #1D6A3B
square
#1D266A #6A1D4D #6A611D #1D6A3B
split-complementary
#1D266A #6A3B1D #4D6A1D
monochromatic
#070918 #10153A #1D266A #2A379A #394AC9

Accessibility & contrast

On white

13.66
#1D266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D266A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D266A#FFFFFF#000000##FFFFFF
##1D266A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d266a;
/* rgb */ color: rgb(29, 38, 106);
/* oklch */ color: oklch(30.8% 0.118 271.7);
Tailwind
colors: {
  custom: {
    50: '#646095',
    500: '#1d266a',
    950: '#000000',
  },
}
SCSS
$custom: #1d266a;
$custom-light: #646095;
$custom-dark: #000000;
JSON
{
  "hex": "#1d266a",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 232.987,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.11807,
    "h": 271.7
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#1D266A
secondary
#9F9444
accent
#CE48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D266A

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

Preview Lab → · Contrast checker → · Palette generator →

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