#1D3F80#1D3F80

#1D3F80 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.117 H 261.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1D3F80
RGBrgb(29, 63, 128)
HSLhsl(219, 63%, 31%)
HSVhsv(219, 77%, 50%)
CMYKcmyk(77.3%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.77, 12.36, -40.32)
CIE-LCHlch(27.77, 42.17, 287.05°)
OKLaboklab(38.15% -0.0167 -0.1158)
OKLCHoklch(38.15% 0.117 261.8)
XYZxyz(6.1791, 5.3740, 21.1295)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F80 #805E1D
analogous
#1D7080 #1D3F80 #2C1D80
triadic
#1D3F80 #801D3F #3F801D
tetradic
#1D3F80 #801D70 #805E1D #1D802C
square
#1D3F80 #801D70 #805E1D #1D802C
split-complementary
#1D3F80 #802C1D #70801D
monochromatic
#060E1C #12264E #1D3F80 #2858B2 #4375D4

Accessibility & contrast

On white

10.12
#1D3F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1D3F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F80
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F80#FFFFFF#000000##FFFFFF
##1D3F801.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3f80;
/* rgb */ color: rgb(29, 63, 128);
/* oklch */ color: oklch(38.1% 0.117 261.8);
Tailwind
colors: {
  custom: {
    50: '#6873a5',
    500: '#1d3f80',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f80;
$custom-light: #6873a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f80",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 219.394,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3815,
    "c": 0.11704,
    "h": 261.8
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#1D3F80
secondary
#B38E45
accent
#AE42E6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D3F80

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

Preview Lab → · Contrast checker → · Palette generator →

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