#1D286F#1D286F

#1D286F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.123 H 270.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1D286F
RGBrgb(29, 40, 111)
HSLhsl(232, 59%, 27%)
HSVhsv(232, 74%, 44%)
CMYKcmyk(73.9%, 64%, 0%, 56.5%)
CIE-LABlab(19.75, 21.76, -42.53)
CIE-LCHlch(19.75, 47.78, 297.09°)
OKLaboklab(31.67% 0.0018 -0.1227)
OKLCHoklch(31.67% 0.123 270.8)
XYZxyz(4.1338, 2.9261, 15.3828)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D286F #6F641D
analogous
#1D516F #1D286F #3B1D6F
triadic
#1D286F #6F1D28 #286F1D
tetradic
#1D286F #6F1D51 #6F641D #1D6F3B
square
#1D286F #6F1D51 #6F641D #1D6F3B
split-complementary
#1D286F #6F3B1D #516F1D
monochromatic
#060918 #10173E #1D286F #2A39A0 #3B4ECC

Accessibility & contrast

On white

13.25
#1D286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D286F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D286F#FFFFFF#000000##FFFFFF
##1D286F1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d286f;
/* rgb */ color: rgb(29, 40, 111);
/* oklch */ color: oklch(31.7% 0.123 270.8);
Tailwind
colors: {
  custom: {
    50: '#666199',
    500: '#1d286f',
    950: '#000000',
  },
}
SCSS
$custom: #1d286f;
$custom-light: #666199;
$custom-dark: #000000;
JSON
{
  "hex": "#1d286f",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 231.951,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31669,
    "c": 0.12275,
    "h": 270.8
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#1D286F
secondary
#A39744
accent
#CD46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D286F

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

Preview Lab → · Contrast checker → · Palette generator →

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