#1D509F#1D509F

#1D509F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.140 H 259.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1D509F
RGBrgb(29, 80, 159)
HSLhsl(216, 69%, 37%)
HSVhsv(216, 82%, 62%)
CMYKcmyk(81.8%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.00, 13.26, -47.65)
CIE-LCHlch(35.00, 49.46, 285.55°)
OKLaboklab(44.39% -0.0261 -0.1371)
OKLCHoklch(44.39% 0.14 259.2)
XYZxyz(9.6311, 8.5006, 33.9273)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D509F #9F6C1D
analogous
#1D919F #1D509F #2B1D9F
triadic
#1D509F #9F1D50 #509F1D
tetradic
#1D509F #9F1D91 #9F6C1D #1D9F2B
square
#1D509F #9F1D91 #9F6C1D #1D9F2B
split-complementary
#1D509F #9F2B1D #919F1D
monochromatic
#0A1C37 #14366B #1D509F #266AD3 #568CE0

Accessibility & contrast

On white

7.78
#1D509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1D509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D509F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D509F#FFFFFF#000000##FFFFFF
##1D509F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d509f;
/* rgb */ color: rgb(29, 80, 159);
/* oklch */ color: oklch(44.4% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f80bc',
    500: '#1d509f',
    950: '#000000',
  },
}
SCSS
$custom: #1d509f;
$custom-light: #6f80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d509f",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 216.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.13953,
    "h": 259.2
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#1D509F
secondary
#C49854
accent
#A73CEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1D509F

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

Preview Lab → · Contrast checker → · Palette generator →

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