#1A517D#1A517D

#1A517D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.093 H 246.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#1A517D
RGBrgb(26, 81, 125)
HSLhsl(207, 66%, 30%)
HSVhsv(207, 79%, 49%)
CMYKcmyk(79.2%, 35.2%, 0%, 51%)
CIE-LABlab(33.10, -1.38, -29.95)
CIE-LCHlch(33.10, 29.98, 267.36°)
OKLaboklab(42.2% -0.0365 -0.0851)
OKLCHoklch(42.2% 0.093 246.8)
XYZxyz(7.0687, 7.5843, 20.4894)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A517D #7D461A
analogous
#1A7D78 #1A517D #1A1F7D
triadic
#1A517D #7D1A51 #517D1A
tetradic
#1A517D #781A7D #7D461A #1F7D1A
square
#1A517D #781A7D #7D461A #1F7D1A
split-complementary
#1A517D #7D1A1F #7D781A
monochromatic
#051019 #0F304A #1A517D #2572B0 #3B91D6

Accessibility & contrast

On white

8.34
#1A517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#1A517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A517D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A517D#FFFFFF#000000##FFFFFF
##1A517D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#2E4A7C
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a517d;
/* rgb */ color: rgb(26, 81, 125);
/* oklch */ color: oklch(42.2% 0.093 246.8);
Tailwind
colors: {
  custom: {
    50: '#6681a3',
    500: '#1a517d',
    950: '#000000',
  },
}
SCSS
$custom: #1a517d;
$custom-light: #6681a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a517d",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 206.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.422,
    "c": 0.09261,
    "h": 246.8
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#1A517D
secondary
#B17342
accent
#8A3FE9
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A517D

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

Preview Lab → · Contrast checker → · Palette generator →

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