#1D507C#1D507C

#1D507C is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.091 H 248.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1D507C
RGBrgb(29, 80, 124)
HSLhsl(208, 62%, 30%)
HSVhsv(208, 77%, 49%)
CMYKcmyk(76.6%, 35.5%, 0%, 51.4%)
CIE-LABlab(32.82, -0.71, -29.78)
CIE-LCHlch(32.82, 29.78, 268.63°)
OKLaboklab(41.98% -0.034 -0.0846)
OKLCHoklch(41.98% 0.091 248.1)
XYZxyz(7.0121, 7.4530, 20.1339)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D507C #7C491D
analogous
#1D7C78 #1D507C #1D217C
triadic
#1D507C #7C1D50 #507C1D
tetradic
#1D507C #781D7C #7C491D #217C1D
square
#1D507C #781D7C #7C491D #217C1D
split-complementary
#1D507C #7C1D21 #7C781D
monochromatic
#061019 #11304A #1D507C #2970AE #418FD3

Accessibility & contrast

On white

8.43
#1D507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1D507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D507C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D507C#FFFFFF#000000##FFFFFF
##1D507C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d507c;
/* rgb */ color: rgb(29, 80, 124);
/* oklch */ color: oklch(42.0% 0.091 248.1);
Tailwind
colors: {
  custom: {
    50: '#6780a2',
    500: '#1d507c',
    950: '#000000',
  },
}
SCSS
$custom: #1d507c;
$custom-light: #6780a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d507c",
  "rgb": {
    "r": 29,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 207.789,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.09116,
    "h": 248.1
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#1D507C
secondary
#B07645
accent
#8E43E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D507C

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

Preview Lab → · Contrast checker → · Palette generator →

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