#1D2F4E#1D2F4E

#1D2F4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.061 H 260.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1D2F4E
RGBrgb(29, 47, 78)
HSLhsl(218, 46%, 21%)
HSVhsv(218, 63%, 31%)
CMYKcmyk(62.8%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.41, 3.58, -21.31)
CIE-LCHlch(19.41, 21.61, 279.54°)
OKLaboklab(30.63% -0.0099 -0.0603)
OKLCHoklch(30.63% 0.061 260.7)
XYZxyz(2.8979, 2.8441, 7.6025)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F4E #4E3C1D
analogous
#1D474E #1D2F4E #231D4E
triadic
#1D2F4E #4E1D2F #2F4E1D
tetradic
#1D2F4E #4E1D47 #4E3C1D #1D4E23
square
#1D2F4E #4E1D47 #4E3C1D #1D4E23
split-complementary
#1D2F4E #4E231D #474E1D
monochromatic
#080D16 #0C1421 #1D2F4E #2E4A7B #3E65A7

Accessibility & contrast

On white

13.39
#1D2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2F4E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F4E#FFFFFF#000000##FFFFFF
##1D2F4E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2f4e;
/* rgb */ color: rgb(29, 47, 78);
/* oklch */ color: oklch(30.6% 0.061 260.7);
Tailwind
colors: {
  custom: {
    50: '#5e6780',
    500: '#1d2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f4e;
$custom-light: #5e6780;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f4e",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 217.959,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.06109,
    "h": 260.7
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#1D2F4E
secondary
#836C44
accent
#A552D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1D2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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