#1D509C#1D509C

#1D509C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.135 H 258.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1D509C
RGBrgb(29, 80, 156)
HSLhsl(216, 69%, 36%)
HSVhsv(216, 81%, 61%)
CMYKcmyk(81.4%, 48.7%, 0%, 38.8%)
CIE-LABlab(34.80, 12.05, -46.18)
CIE-LCHlch(34.80, 47.73, 284.63°)
OKLaboklab(44.16% -0.0266 -0.1327)
OKLCHoklch(44.16% 0.135 258.7)
XYZxyz(9.3739, 8.3977, 32.5729)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D509C #9C691D
analogous
#1D909C #1D509C #2A1D9C
triadic
#1D509C #9C1D50 #509C1D
tetradic
#1D509C #9C1D90 #9C691D #1D9C2A
square
#1D509C #9C1D90 #9C691D #1D9C2A
split-complementary
#1D509C #9C2A1D #909C1D
monochromatic
#0A1B35 #133668 #1D509C #276AD0 #548CDF

Accessibility & contrast

On white

7.84
#1D509C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1D509C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D509C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D509C#FFFFFF#000000##FFFFFF
##1D509C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1d509c;
/* rgb */ color: rgb(29, 80, 156);
/* oklch */ color: oklch(44.2% 0.135 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e80ba',
    500: '#1d509c',
    950: '#000000',
  },
}
SCSS
$custom: #1d509c;
$custom-light: #6e80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d509c",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 215.906,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.13537,
    "h": 258.7
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#1D509C
secondary
#C29552
accent
#A53CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1D509C

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

Preview Lab → · Contrast checker → · Palette generator →

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