#1F507D#1F507D

#1F507D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.092 H 249.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#1F507D
RGBrgb(31, 80, 125)
HSLhsl(209, 60%, 31%)
HSVhsv(209, 75%, 49%)
CMYKcmyk(75.2%, 36%, 0%, 51%)
CIE-LABlab(32.94, -0.03, -30.20)
CIE-LCHlch(32.94, 30.20, 269.95°)
OKLaboklab(42.12% -0.0324 -0.0858)
OKLCHoklch(42.12% 0.092 249.3)
XYZxyz(7.1340, 7.5085, 20.4714)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F507D #7D4C1F
analogous
#1F7D7B #1F507D #1F217D
triadic
#1F507D #7D1F50 #507D1F
tetradic
#1F507D #7B1F7D #7D4C1F #217D1F
square
#1F507D #7B1F7D #7D4C1F #217D1F
split-complementary
#1F507D #7D1F21 #7D7B1F
monochromatic
#07111B #13314C #1F507D #2B6FAE #458ED1

Accessibility & contrast

On white

8.39
#1F507D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1F507D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F507D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F507D#FFFFFF#000000##FFFFFF
##1F507D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527F
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f507d;
/* rgb */ color: rgb(31, 80, 125);
/* oklch */ color: oklch(42.1% 0.092 249.3);
Tailwind
colors: {
  custom: {
    50: '#6880a3',
    500: '#1f507d',
    950: '#000000',
  },
}
SCSS
$custom: #1f507d;
$custom-light: #6880a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f507d",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 208.723,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.09172,
    "h": 249.3
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#1F507D
secondary
#B07A48
accent
#9144E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F507D

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

Preview Lab → · Contrast checker → · Palette generator →

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