#1D286D#1D286D

#1D286D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.120 H 270.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1D286D
RGBrgb(29, 40, 109)
HSLhsl(232, 58%, 27%)
HSVhsv(232, 73%, 43%)
CMYKcmyk(73.4%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.57, 20.97, -41.53)
CIE-LCHlch(19.57, 46.53, 296.79°)
OKLaboklab(31.48% 0.0018 -0.1198)
OKLCHoklch(31.48% 0.12 270.9)
XYZxyz(4.0249, 2.8825, 14.8093)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D286D #6D621D
analogous
#1D506D #1D286D #3A1D6D
triadic
#1D286D #6D1D28 #286D1D
tetradic
#1D286D #6D1D50 #6D621D #1D6D3A
square
#1D286D #6D1D50 #6D621D #1D6D3A
split-complementary
#1D286D #6D3A1D #506D1D
monochromatic
#060918 #10163D #1D286D #2A3A9D #3A4ECB

Accessibility & contrast

On white

13.32
#1D286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1D286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D286D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D286D#FFFFFF#000000##FFFFFF
##1D286D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d286d;
/* rgb */ color: rgb(29, 40, 109);
/* oklch */ color: oklch(31.5% 0.120 270.9);
Tailwind
colors: {
  custom: {
    50: '#656197',
    500: '#1d286d',
    950: '#000000',
  },
}
SCSS
$custom: #1d286d;
$custom-light: #656197;
$custom-dark: #000000;
JSON
{
  "hex": "#1d286d",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 231.75,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.1198,
    "h": 270.9
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#1D286D
secondary
#A29544
accent
#CC47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D286D

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

Preview Lab → · Contrast checker → · Palette generator →

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