#1D518B#1D518B

#1D518B is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.111 H 253.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1D518B
RGBrgb(29, 81, 139)
HSLhsl(212, 65%, 33%)
HSVhsv(212, 79%, 55%)
CMYKcmyk(79.1%, 41.7%, 0%, 45.5%)
CIE-LABlab(34.00, 4.57, -37.13)
CIE-LCHlch(34.00, 37.41, 277.02°)
OKLaboklab(43.2% -0.0309 -0.1061)
OKLCHoklch(43.2% 0.111 253.8)
XYZxyz(8.1076, 8.0092, 25.5397)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D518B #8B571D
analogous
#1D888B #1D518B #201D8B
triadic
#1D518B #8B1D51 #518B1D
tetradic
#1D518B #8B1D88 #8B571D #1D8B20
square
#1D518B #8B1D88 #8B571D #1D8B20
split-complementary
#1D518B #8B201D #888B1D
monochromatic
#081626 #123358 #1D518B #286FBE #498DD9

Accessibility & contrast

On white

8.07
#1D518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1D518B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D518B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D518B#FFFFFF#000000##FFFFFF
##1D518B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#234B8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d518b;
/* rgb */ color: rgb(29, 81, 139);
/* oklch */ color: oklch(43.2% 0.111 253.8);
Tailwind
colors: {
  custom: {
    50: '#6a81ad',
    500: '#1d518b',
    950: '#000000',
  },
}
SCSS
$custom: #1d518b;
$custom-light: #6a81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d518b",
  "rgb": {
    "r": 29,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 211.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.11052,
    "h": 253.8
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#1D518B
secondary
#BB8549
accent
#993FE8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D518B

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

Preview Lab → · Contrast checker → · Palette generator →

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