#1F516B#1F516B

#1F516B is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.3% C 0.069 H 234.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1F516B
RGBrgb(31, 81, 107)
HSLhsl(201, 55%, 27%)
HSVhsv(201, 71%, 42%)
CMYKcmyk(71%, 24.3%, 0%, 58%)
CIE-LABlab(32.34, -7.52, -19.90)
CIE-LCHlch(32.34, 21.27, 249.30°)
OKLaboklab(41.34% -0.0397 -0.0559)
OKLCHoklch(41.34% 0.069 234.6)
XYZxyz(6.1603, 7.2370, 14.9793)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F516B #6B391F
analogous
#1F6B5F #1F516B #1F2B6B
triadic
#1F516B #6B1F51 #516B1F
tetradic
#1F516B #5F1F6B #6B391F #2B6B1F
square
#1F516B #5F1F6B #6B391F #2B6B1F
split-complementary
#1F516B #6B1F2B #6B5F1F
monochromatic
#071218 #112D3C #1F516B #2D759A #3D98C7

Accessibility & contrast

On white

8.58
#1F516B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1F516B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F516B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F516B#FFFFFF#000000##FFFFFF
##1F516B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506C
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#00585A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f516b;
/* rgb */ color: rgb(31, 81, 107);
/* oklch */ color: oklch(41.3% 0.069 234.6);
Tailwind
colors: {
  custom: {
    50: '#658195',
    500: '#1f516b',
    950: '#000000',
  },
}
SCSS
$custom: #1f516b;
$custom-light: #658195;
$custom-dark: #000000;
JSON
{
  "hex": "#1f516b",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 107
  },
  "hsl": {
    "h": 200.526,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.06854,
    "h": 234.6
  },
  "luminance": 0.07238
}

Semantic roles & 50–950 ramp

primary
#1F516B
secondary
#9F6547
accent
#7C49DE
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F516B

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

Preview Lab → · Contrast checker → · Palette generator →

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