#1D286C#1D286C

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

Color values

HEX#1D286C
RGBrgb(29, 40, 108)
HSLhsl(232, 58%, 27%)
HSVhsv(232, 73%, 42%)
CMYKcmyk(73.1%, 63%, 0%, 57.6%)
CIE-LABlab(19.48, 20.57, -41.03)
CIE-LCHlch(19.48, 45.90, 296.63°)
OKLaboklab(31.39% 0.0019 -0.1183)
OKLCHoklch(31.39% 0.118 270.9)
XYZxyz(3.9713, 2.8611, 14.5274)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D286C #6C611D
analogous
#1D506C #1D286C #3A1D6C
triadic
#1D286C #6C1D28 #286C1D
tetradic
#1D286C #6C1D50 #6C611D #1D6C3A
square
#1D286C #6C1D50 #6C611D #1D6C3A
split-complementary
#1D286C #6C3A1D #506C1D
monochromatic
#060918 #10163C #1D286C #2A3A9C #394ECA

Accessibility & contrast

On white

13.36
#1D286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D286C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D286C#FFFFFF#000000##FFFFFF
##1D286C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d286c;
/* rgb */ color: rgb(29, 40, 108);
/* oklch */ color: oklch(31.4% 0.118 270.9);
Tailwind
colors: {
  custom: {
    50: '#656197',
    500: '#1d286c',
    950: '#000000',
  },
}
SCSS
$custom: #1d286c;
$custom-light: #656197;
$custom-dark: #000000;
JSON
{
  "hex": "#1d286c",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 231.646,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31389,
    "c": 0.11832,
    "h": 270.9
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D286C

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

Preview Lab → · Contrast checker → · Palette generator →

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