#1D2F4D#1D2F4D

#1D2F4D is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.6% C 0.059 H 260.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#1D2F4D
RGBrgb(29, 47, 77)
HSLhsl(218, 45%, 21%)
HSVhsv(218, 62%, 30%)
CMYKcmyk(62.3%, 39%, 0%, 69.8%)
CIE-LABlab(19.35, 3.19, -20.73)
CIE-LCHlch(19.35, 20.97, 278.76°)
OKLaboklab(30.56% -0.0102 -0.0586)
OKLCHoklch(30.56% 0.059 260.2)
XYZxyz(2.8623, 2.8298, 7.4151)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F4D #4D3B1D
analogous
#1D474D #1D2F4D #231D4D
triadic
#1D2F4D #4D1D2F #2F4D1D
tetradic
#1D2F4D #4D1D47 #4D3B1D #1D4D23
square
#1D2F4D #4D1D47 #4D3B1D #1D4D23
split-complementary
#1D2F4D #4D231D #474D1D
monochromatic
#080E16 #0C1421 #1D2F4D #2E4A79 #3E65A6

Accessibility & contrast

On white

13.41
#1D2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F4D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F4D#FFFFFF#000000##FFFFFF
##1D2F4D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2f4d;
/* rgb */ color: rgb(29, 47, 77);
/* oklch */ color: oklch(30.6% 0.059 260.2);
Tailwind
colors: {
  custom: {
    50: '#5d677f',
    500: '#1d2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f4d;
$custom-light: #5d677f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f4d",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 217.5,
    "s": 45.283,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30564,
    "c": 0.05948,
    "h": 260.2
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#1D2F4D
secondary
#826B44
accent
#A453D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1D2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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