#1A517C#1A517C

#1A517C is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.091 H 246.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1A517C
RGBrgb(26, 81, 124)
HSLhsl(206, 65%, 29%)
HSVhsv(206, 79%, 49%)
CMYKcmyk(79%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.05, -1.77, -29.42)
CIE-LCHlch(33.05, 29.47, 266.55°)
OKLaboklab(42.14% -0.0368 -0.0835)
OKLCHoklch(42.14% 0.091 246.2)
XYZxyz(7.0051, 7.5589, 20.1547)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A517C #7C451A
analogous
#1A7C76 #1A517C #1A207C
triadic
#1A517C #7C1A51 #517C1A
tetradic
#1A517C #761A7C #7C451A #207C1A
square
#1A517C #761A7C #7C451A #207C1A
split-complementary
#1A517C #7C1A20 #7C761A
monochromatic
#051119 #0F3049 #1A517C #2572AF #3B92D6

Accessibility & contrast

On white

8.36
#1A517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1A517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A517C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A517C#FFFFFF#000000##FFFFFF
##1A517C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#2F4A7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1a517c;
/* rgb */ color: rgb(26, 81, 124);
/* oklch */ color: oklch(42.1% 0.091 246.2);
Tailwind
colors: {
  custom: {
    50: '#6681a2',
    500: '#1a517c',
    950: '#000000',
  },
}
SCSS
$custom: #1a517c;
$custom-light: #6681a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a517c",
  "rgb": {
    "r": 26,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 206.327,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.0913,
    "h": 246.2
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#1A517C
secondary
#B07242
accent
#8A40E8
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1A517C

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

Preview Lab → · Contrast checker → · Palette generator →

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