#1F506F#1F506F

#1F506F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.3% C 0.074 H 239.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1F506F
RGBrgb(31, 80, 111)
HSLhsl(203, 56%, 28%)
HSVhsv(203, 72%, 44%)
CMYKcmyk(72.1%, 27.9%, 0%, 56.5%)
CIE-LABlab(32.20, -5.40, -22.63)
CIE-LCHlch(32.20, 23.26, 256.57°)
OKLaboklab(41.3% -0.037 -0.0637)
OKLCHoklch(41.3% 0.074 239.8)
XYZxyz(6.3019, 7.1756, 16.0888)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F506F #6F3E1F
analogous
#1F6F66 #1F506F #1F286F
triadic
#1F506F #6F1F50 #506F1F
tetradic
#1F506F #661F6F #6F3E1F #286F1F
square
#1F506F #661F6F #6F3E1F #286F1F
split-complementary
#1F506F #6F1F28 #6F661F
monochromatic
#071118 #122E3F #1F506F #2C729F #3F94C9

Accessibility & contrast

On white

8.62
#1F506F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F506F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F506F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F506F#FFFFFF#000000##FFFFFF
##1F506F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425070
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f506f;
/* rgb */ color: rgb(31, 80, 111);
/* oklch */ color: oklch(41.3% 0.074 239.8);
Tailwind
colors: {
  custom: {
    50: '#658198',
    500: '#1f506f',
    950: '#000000',
  },
}
SCSS
$custom: #1f506f;
$custom-light: #658198;
$custom-dark: #000000;
JSON
{
  "hex": "#1f506f",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 203.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.07372,
    "h": 239.8
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#1F506F
secondary
#A36B47
accent
#8348E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F506F

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

Preview Lab → · Contrast checker → · Palette generator →

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