#1F516E#1F516E

#1F516E is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.5% C 0.072 H 237.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#1F516E
RGBrgb(31, 81, 110)
HSLhsl(202, 56%, 28%)
HSVhsv(202, 72%, 43%)
CMYKcmyk(71.8%, 26.4%, 0%, 56.9%)
CIE-LABlab(32.48, -6.41, -21.56)
CIE-LCHlch(32.48, 22.49, 253.45°)
OKLaboklab(41.5% -0.0385 -0.0607)
OKLCHoklch(41.5% 0.072 237.6)
XYZxyz(6.3209, 7.3013, 15.8250)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F516E #6E3C1F
analogous
#1F6E63 #1F516E #1F2A6E
triadic
#1F516E #6E1F51 #516E1F
tetradic
#1F516E #631F6E #6E3C1F #2A6E1F
square
#1F516E #631F6E #6E3C1F #2A6E1F
split-complementary
#1F516E #6E1F2A #6E631F
monochromatic
#071218 #122E3E #1F516E #2C749E #3F96C9

Accessibility & contrast

On white

8.54
#1F516E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F516E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F516E#FFFFFF#000000##FFFFFF
##1F516E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f516e;
/* rgb */ color: rgb(31, 81, 110);
/* oklch */ color: oklch(41.5% 0.072 237.6);
Tailwind
colors: {
  custom: {
    50: '#658197',
    500: '#1f516e',
    950: '#000000',
  },
}
SCSS
$custom: #1f516e;
$custom-light: #658197;
$custom-dark: #000000;
JSON
{
  "hex": "#1f516e",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 110
  },
  "hsl": {
    "h": 202.025,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41501,
    "c": 0.07187,
    "h": 237.6
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#1F516E
secondary
#A26847
accent
#8048DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F516E

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

Preview Lab → · Contrast checker → · Palette generator →

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