#1D286A#1D286A

#1D286A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.115 H 270.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1D286A
RGBrgb(29, 40, 106)
HSLhsl(231, 57%, 26%)
HSVhsv(231, 73%, 42%)
CMYKcmyk(72.6%, 62.3%, 0%, 58.4%)
CIE-LABlab(19.30, 19.78, -40.01)
CIE-LCHlch(19.30, 44.64, 296.31°)
OKLaboklab(31.2% 0.0019 -0.1153)
OKLCHoklch(31.2% 0.115 270.9)
XYZxyz(3.8661, 2.8190, 13.9733)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D286A #6A5F1D
analogous
#1D4F6A #1D286A #391D6A
triadic
#1D286A #6A1D28 #286A1D
tetradic
#1D286A #6A1D4F #6A5F1D #1D6A39
square
#1D286A #6A1D4F #6A5F1D #1D6A39
split-complementary
#1D286A #6A391D #4F6A1D
monochromatic
#070918 #10163A #1D286A #2A3A9A #394DC9

Accessibility & contrast

On white

13.43
#1D286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D286A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D286A#FFFFFF#000000##FFFFFF
##1D286A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d286a;
/* rgb */ color: rgb(29, 40, 106);
/* oklch */ color: oklch(31.2% 0.115 270.9);
Tailwind
colors: {
  custom: {
    50: '#646195',
    500: '#1d286a',
    950: '#000000',
  },
}
SCSS
$custom: #1d286a;
$custom-light: #646195;
$custom-dark: #000000;
JSON
{
  "hex": "#1d286a",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 231.429,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.11534,
    "h": 270.9
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#1D286A
secondary
#9F9244
accent
#CA48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D286A

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

Preview Lab → · Contrast checker → · Palette generator →

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