#1F506D#1F506D

#1F506D is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.2% C 0.071 H 238.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1F506D
RGBrgb(31, 80, 109)
HSLhsl(202, 56%, 27%)
HSVhsv(202, 72%, 43%)
CMYKcmyk(71.6%, 26.6%, 0%, 57.3%)
CIE-LABlab(32.11, -6.15, -21.52)
CIE-LCHlch(32.11, 22.38, 254.04°)
OKLaboklab(41.19% -0.0378 -0.0606)
OKLCHoklch(41.19% 0.071 238)
XYZxyz(6.1930, 7.1321, 15.5153)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F506D #6D3C1F
analogous
#1F6D63 #1F506D #1F296D
triadic
#1F506D #6D1F50 #506D1F
tetradic
#1F506D #631F6D #6D3C1F #296D1F
square
#1F506D #631F6D #6D3C1F #296D1F
split-complementary
#1F506D #6D1F29 #6D631F
monochromatic
#071118 #112D3D #1F506D #2D739D #3E95C8

Accessibility & contrast

On white

8.65
#1F506D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F506D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F506D
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F506D#FFFFFF#000000##FFFFFF
##1F506D1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506E
Deuteranopia (green-blind)
#38486D
Tritanopia (blue-blind)
#00575A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f506d;
/* rgb */ color: rgb(31, 80, 109);
/* oklch */ color: oklch(41.2% 0.071 238.0);
Tailwind
colors: {
  custom: {
    50: '#658197',
    500: '#1f506d',
    950: '#000000',
  },
}
SCSS
$custom: #1f506d;
$custom-light: #658197;
$custom-dark: #000000;
JSON
{
  "hex": "#1f506d",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 109
  },
  "hsl": {
    "h": 202.308,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.07137,
    "h": 238
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#1F506D
secondary
#A16847
accent
#8149DF
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F506D

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

Preview Lab → · Contrast checker → · Palette generator →

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