#1D2F86#1D2F86

#1D2F86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 268.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#1D2F86
RGBrgb(29, 47, 134)
HSLhsl(230, 64%, 32%)
HSVhsv(230, 78%, 53%)
CMYKcmyk(78.4%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.72, 25.92, -50.66)
CIE-LCHlch(23.72, 56.90, 297.10°)
OKLaboklab(35.25% -0.0039 -0.1465)
OKLCHoklch(35.25% 0.147 268.5)
XYZxyz(5.8248, 4.0148, 23.0176)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F86 #86741D
analogous
#1D6486 #1D2F86 #3F1D86
triadic
#1D2F86 #861D2F #2F861D
tetradic
#1D2F86 #861D64 #86741D #1D863F
square
#1D2F86 #861D64 #86741D #1D863F
split-complementary
#1D2F86 #863F1D #64861D
monochromatic
#070C21 #121D54 #1D2F86 #2841B8 #465FD7

Accessibility & contrast

On white

11.65
#1D2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F86
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F86#FFFFFF#000000##FFFFFF
##1D2F861.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2f86;
/* rgb */ color: rgb(29, 47, 134);
/* oklch */ color: oklch(35.3% 0.147 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b67aa',
    500: '#1d2f86',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f86;
$custom-light: #6b67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f86",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 229.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.14653,
    "h": 268.5
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#1D2F86
secondary
#B9A546
accent
#CB40E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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