#1D286B#1D286B

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

Color values

HEX#1D286B
RGBrgb(29, 40, 107)
HSLhsl(232, 57%, 27%)
HSVhsv(232, 73%, 42%)
CMYKcmyk(72.9%, 62.6%, 0%, 58%)
CIE-LABlab(19.39, 20.18, -40.52)
CIE-LCHlch(19.39, 45.27, 296.47°)
OKLaboklab(31.3% 0.0019 -0.1168)
OKLCHoklch(31.3% 0.117 270.9)
XYZxyz(3.9184, 2.8400, 14.2487)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D286B #6B601D
analogous
#1D4F6B #1D286B #391D6B
triadic
#1D286B #6B1D28 #286B1D
tetradic
#1D286B #6B1D4F #6B601D #1D6B39
square
#1D286B #6B1D4F #6B601D #1D6B39
split-complementary
#1D286B #6B391D #4F6B1D
monochromatic
#070918 #10163B #1D286B #2A3A9B #394DC9

Accessibility & contrast

On white

13.39
#1D286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D286B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D286B#FFFFFF#000000##FFFFFF
##1D286B1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d286b;
/* rgb */ color: rgb(29, 40, 107);
/* oklch */ color: oklch(31.3% 0.117 270.9);
Tailwind
colors: {
  custom: {
    50: '#656196',
    500: '#1d286b',
    950: '#000000',
  },
}
SCSS
$custom: #1d286b;
$custom-light: #656196;
$custom-dark: #000000;
JSON
{
  "hex": "#1d286b",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 231.538,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31296,
    "c": 0.11683,
    "h": 270.9
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#1D286B
secondary
#A09344
accent
#CB47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1D286B

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

Preview Lab → · Contrast checker → · Palette generator →

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