#1D2F8E#1D2F8E

#1D2F8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.158 H 268.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#1D2F8E
RGBrgb(29, 47, 142)
HSLhsl(230, 66%, 34%)
HSVhsv(230, 80%, 56%)
CMYKcmyk(79.6%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.47, 29.02, -54.41)
CIE-LCHlch(24.47, 61.67, 298.07°)
OKLaboklab(36.04% -0.0042 -0.1575)
OKLCHoklch(36.04% 0.158 268.5)
XYZxyz(6.4040, 4.2465, 26.0681)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F8E #8E7C1D
analogous
#1D678E #1D2F8E #431D8E
triadic
#1D2F8E #8E1D2F #2F8E1D
tetradic
#1D2F8E #8E1D67 #8E7C1D #1D8E43
square
#1D2F8E #8E1D67 #8E7C1D #1D8E43
split-complementary
#1D2F8E #8E431D #678E1D
monochromatic
#080D28 #131E5B #1D2F8E #2740C1 #4B62DA

Accessibility & contrast

On white

11.36
#1D2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D2F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F8E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F8E#FFFFFF#000000##FFFFFF
##1D2F8E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d2f8e;
/* rgb */ color: rgb(29, 47, 142);
/* oklch */ color: oklch(36.0% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#6d67b0',
    500: '#1d2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f8e;
$custom-light: #6d67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f8e",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 230.442,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36035,
    "c": 0.15753,
    "h": 268.5
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

primary
#1D2F8E
secondary
#BDAA4A
accent
#CE3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1D2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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