#1B517D#1B517D

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

Color values

HEX#1B517D
RGBrgb(27, 81, 125)
HSLhsl(207, 64%, 30%)
HSVhsv(207, 78%, 49%)
CMYKcmyk(78.4%, 35.2%, 0%, 51%)
CIE-LABlab(33.13, -1.25, -29.90)
CIE-LCHlch(33.13, 29.93, 267.61°)
OKLaboklab(42.23% -0.0359 -0.085)
OKLCHoklch(42.23% 0.092 247.1)
XYZxyz(7.0947, 7.5977, 20.4907)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B517D #7D471B
analogous
#1B7D78 #1B517D #1B207D
triadic
#1B517D #7D1B51 #517D1B
tetradic
#1B517D #781B7D #7D471B #207D1B
square
#1B517D #781B7D #7D471B #207D1B
split-complementary
#1B517D #7D1B20 #7D781B
monochromatic
#051019 #10304B #1B517D #2672AF #3D91D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B517D#FFFFFF#000000##FFFFFF
##1B517D1.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)
#3D537F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b517d;
/* rgb */ color: rgb(27, 81, 125);
/* oklch */ color: oklch(42.2% 0.092 247.1);
Tailwind
colors: {
  custom: {
    50: '#6781a3',
    500: '#1b517d',
    950: '#000000',
  },
}
SCSS
$custom: #1b517d;
$custom-light: #6781a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b517d",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 206.939,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.09224,
    "h": 247.1
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#1B517D
secondary
#B17443
accent
#8B40E7
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B517D

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

Preview Lab → · Contrast checker → · Palette generator →

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