#1A517E#1A517E

#1A517E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.094 H 247.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#1A517E
RGBrgb(26, 81, 126)
HSLhsl(207, 66%, 30%)
HSVhsv(207, 79%, 49%)
CMYKcmyk(79.4%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.16, -0.98, -30.48)
CIE-LCHlch(33.16, 30.50, 268.15°)
OKLaboklab(42.26% -0.0362 -0.0867)
OKLCHoklch(42.26% 0.094 247.3)
XYZxyz(7.1329, 7.6100, 20.8276)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A517E #7E471A
analogous
#1A7E79 #1A517E #1A1F7E
triadic
#1A517E #7E1A51 #517E1A
tetradic
#1A517E #791A7E #7E471A #1F7E1A
square
#1A517E #791A7E #7E471A #1F7E1A
split-complementary
#1A517E #7E1A1F #7E791A
monochromatic
#051019 #10304B #1A517E #2472B1 #3C91D7

Accessibility & contrast

On white

8.33
#1A517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A517E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A517E#FFFFFF#000000##FFFFFF
##1A517E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a517e;
/* rgb */ color: rgb(26, 81, 126);
/* oklch */ color: oklch(42.3% 0.094 247.3);
Tailwind
colors: {
  custom: {
    50: '#6781a3',
    500: '#1a517e',
    950: '#000000',
  },
}
SCSS
$custom: #1a517e;
$custom-light: #6781a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a517e",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 207,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42262,
    "c": 0.09392,
    "h": 247.3
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#1A517E
secondary
#B27442
accent
#8B3FE9
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A517E

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

Preview Lab → · Contrast checker → · Palette generator →

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