#1D286E#1D286E

#1D286E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.121 H 270.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1D286E
RGBrgb(29, 40, 110)
HSLhsl(232, 58%, 27%)
HSVhsv(232, 74%, 43%)
CMYKcmyk(73.6%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.66, 21.37, -42.03)
CIE-LCHlch(19.66, 47.15, 296.94°)
OKLaboklab(31.57% 0.0018 -0.1213)
OKLCHoklch(31.57% 0.121 270.9)
XYZxyz(4.0790, 2.9042, 15.0944)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D286E #6E631D
analogous
#1D516E #1D286E #3B1D6E
triadic
#1D286E #6E1D28 #286E1D
tetradic
#1D286E #6E1D51 #6E631D #1D6E3B
square
#1D286E #6E1D51 #6E631D #1D6E3B
split-complementary
#1D286E #6E3B1D #516E1D
monochromatic
#060918 #10163E #1D286E #2A3A9E #3A4ECB

Accessibility & contrast

On white

13.28
#1D286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D286E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D286E#FFFFFF#000000##FFFFFF
##1D286E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d286e;
/* rgb */ color: rgb(29, 40, 110);
/* oklch */ color: oklch(31.6% 0.121 270.9);
Tailwind
colors: {
  custom: {
    50: '#656198',
    500: '#1d286e',
    950: '#000000',
  },
}
SCSS
$custom: #1d286e;
$custom-light: #656198;
$custom-dark: #000000;
JSON
{
  "hex": "#1d286e",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 231.852,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.12128,
    "h": 270.9
  },
  "luminance": 0.02905
}

Semantic roles & 50–950 ramp

primary
#1D286E
secondary
#A29644
accent
#CC46E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D286E

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

Preview Lab → · Contrast checker → · Palette generator →

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