#1F516C#1F516C

#1F516C is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.4% C 0.070 H 235.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1F516C
RGBrgb(31, 81, 108)
HSLhsl(201, 55%, 27%)
HSVhsv(201, 71%, 42%)
CMYKcmyk(71.3%, 25%, 0%, 57.6%)
CIE-LABlab(32.39, -7.15, -20.46)
CIE-LCHlch(32.39, 21.67, 250.73°)
OKLaboklab(41.39% -0.0393 -0.0575)
OKLCHoklch(41.39% 0.07 235.6)
XYZxyz(6.2132, 7.2582, 15.2580)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F516C #6C3A1F
analogous
#1F6C61 #1F516C #1F2A6C
triadic
#1F516C #6C1F51 #516C1F
tetradic
#1F516C #611F6C #6C3A1F #2A6C1F
square
#1F516C #611F6C #6C3A1F #2A6C1F
split-complementary
#1F516C #6C1F2A #6C611F
monochromatic
#071218 #112D3C #1F516C #2D759C #3E97C8

Accessibility & contrast

On white

8.57
#1F516C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F516C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F516C#FFFFFF#000000##FFFFFF
##1F516C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f516c;
/* rgb */ color: rgb(31, 81, 108);
/* oklch */ color: oklch(41.4% 0.070 235.6);
Tailwind
colors: {
  custom: {
    50: '#658196',
    500: '#1f516c',
    950: '#000000',
  },
}
SCSS
$custom: #1f516c;
$custom-light: #658196;
$custom-dark: #000000;
JSON
{
  "hex": "#1f516c",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 108
  },
  "hsl": {
    "h": 201.039,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.06963,
    "h": 235.6
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#1F516C
secondary
#A06647
accent
#7E49DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F516C

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

Preview Lab → · Contrast checker → · Palette generator →

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