#1F516D#1F516D

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

Color values

HEX#1F516D
RGBrgb(31, 81, 109)
HSLhsl(202, 56%, 27%)
HSVhsv(202, 72%, 43%)
CMYKcmyk(71.6%, 25.7%, 0%, 57.3%)
CIE-LABlab(32.44, -6.78, -21.01)
CIE-LCHlch(32.44, 22.08, 252.12°)
OKLaboklab(41.45% -0.0389 -0.0591)
OKLCHoklch(41.45% 0.071 236.6)
XYZxyz(6.2667, 7.2796, 15.5399)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F516D #6D3B1F
analogous
#1F6D62 #1F516D #1F2A6D
triadic
#1F516D #6D1F51 #516D1F
tetradic
#1F516D #621F6D #6D3B1F #2A6D1F
square
#1F516D #621F6D #6D3B1F #2A6D1F
split-complementary
#1F516D #6D1F2A #6D621F
monochromatic
#071218 #112E3D #1F516D #2D749D #3E97C8

Accessibility & contrast

On white

8.55
#1F516D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F516D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F516D#FFFFFF#000000##FFFFFF
##1F516D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44516E
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f516d;
/* rgb */ color: rgb(31, 81, 109);
/* oklch */ color: oklch(41.4% 0.071 236.6);
Tailwind
colors: {
  custom: {
    50: '#658197',
    500: '#1f516d',
    950: '#000000',
  },
}
SCSS
$custom: #1f516d;
$custom-light: #658197;
$custom-dark: #000000;
JSON
{
  "hex": "#1f516d",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 109
  },
  "hsl": {
    "h": 201.538,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.07073,
    "h": 236.6
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#1F516D
secondary
#A16747
accent
#7F49DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F516D

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

Preview Lab → · Contrast checker → · Palette generator →

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