#1D304F#1D304F

#1D304F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.061 H 259.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#1D304F
RGBrgb(29, 48, 79)
HSLhsl(217, 46%, 21%)
HSVhsv(217, 63%, 31%)
CMYKcmyk(63.3%, 39.2%, 0%, 69%)
CIE-LABlab(19.80, 3.26, -21.36)
CIE-LCHlch(19.80, 21.61, 278.67°)
OKLaboklab(30.95% -0.0109 -0.0604)
OKLCHoklch(30.95% 0.061 259.8)
XYZxyz(2.9744, 2.9394, 7.8062)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D304F #4F3C1D
analogous
#1D494F #1D304F #231D4F
triadic
#1D304F #4F1D30 #304F1D
tetradic
#1D304F #4F1D49 #4F3C1D #1D4F23
square
#1D304F #4F1D49 #4F3C1D #1D4F23
split-complementary
#1D304F #4F231D #494F1D
monochromatic
#080E16 #0D1522 #1D304F #2D4B7C #3E66A9

Accessibility & contrast

On white

13.22
#1D304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1D304F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D304F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D304F#FFFFFF#000000##FFFFFF
##1D304F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233250
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d304f;
/* rgb */ color: rgb(29, 48, 79);
/* oklch */ color: oklch(31.0% 0.061 259.8);
Tailwind
colors: {
  custom: {
    50: '#5e6880',
    500: '#1d304f',
    950: '#000000',
  },
}
SCSS
$custom: #1d304f;
$custom-light: #5e6880;
$custom-dark: #000000;
JSON
{
  "hex": "#1d304f",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 217.2,
    "s": 46.296,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30953,
    "c": 0.06142,
    "h": 259.8
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#1D304F
secondary
#846C44
accent
#A452D6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1D304F

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

Preview Lab → · Contrast checker → · Palette generator →

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