#1F516F#1F516F

#1F516F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.6% C 0.073 H 238.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#1F516F
RGBrgb(31, 81, 111)
HSLhsl(203, 56%, 28%)
HSVhsv(203, 72%, 44%)
CMYKcmyk(72.1%, 27%, 0%, 56.5%)
CIE-LABlab(32.53, -6.03, -22.11)
CIE-LCHlch(32.53, 22.92, 254.74°)
OKLaboklab(41.56% -0.0382 -0.0623)
OKLCHoklch(41.56% 0.073 238.5)
XYZxyz(6.3756, 7.3232, 16.1133)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F516F #6F3D1F
analogous
#1F6F65 #1F516F #1F296F
triadic
#1F516F #6F1F51 #516F1F
tetradic
#1F516F #651F6F #6F3D1F #296F1F
square
#1F516F #651F6F #6F3D1F #296F1F
split-complementary
#1F516F #6F1F29 #6F651F
monochromatic
#071118 #122E3F #1F516F #2C749F #3F95C9

Accessibility & contrast

On white

8.52
#1F516F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1F516F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F516F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F516F#FFFFFF#000000##FFFFFF
##1F516F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435170
Deuteranopia (green-blind)
#38496E
Tritanopia (blue-blind)
#00595B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f516f;
/* rgb */ color: rgb(31, 81, 111);
/* oklch */ color: oklch(41.6% 0.073 238.5);
Tailwind
colors: {
  custom: {
    50: '#658198',
    500: '#1f516f',
    950: '#000000',
  },
}
SCSS
$custom: #1f516f;
$custom-light: #658198;
$custom-dark: #000000;
JSON
{
  "hex": "#1f516f",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 202.5,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.07302,
    "h": 238.5
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#1F516F
secondary
#A36947
accent
#8148E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F516F

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

Preview Lab → · Contrast checker → · Palette generator →

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