#1F487D#1F487D

#1F487D is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.101 H 256.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#1F487D
RGBrgb(31, 72, 125)
HSLhsl(214, 60%, 31%)
HSVhsv(214, 75%, 49%)
CMYKcmyk(75.2%, 42.4%, 0%, 51%)
CIE-LABlab(30.41, 5.27, -34.21)
CIE-LCHlch(30.41, 34.61, 278.76°)
OKLaboklab(40.14% -0.0243 -0.0977)
OKLCHoklch(40.14% 0.101 256)
XYZxyz(6.5828, 6.4060, 20.2876)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F487D #7D541F
analogous
#1F777D #1F487D #251F7D
triadic
#1F487D #7D1F48 #487D1F
tetradic
#1F487D #7D1F77 #7D541F #1F7D25
square
#1F487D #7D1F77 #7D541F #1F7D25
split-complementary
#1F487D #7D251F #777D1F
monochromatic
#07101B #132C4C #1F487D #2B64AE #4582D1

Accessibility & contrast

On white

9.20
#1F487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#1F487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F487D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F487D#FFFFFF#000000##FFFFFF
##1F487D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#1F447C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f487d;
/* rgb */ color: rgb(31, 72, 125);
/* oklch */ color: oklch(40.1% 0.101 256.0);
Tailwind
colors: {
  custom: {
    50: '#687aa3',
    500: '#1f487d',
    950: '#000000',
  },
}
SCSS
$custom: #1f487d;
$custom-light: #687aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f487d",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 213.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40144,
    "c": 0.10065,
    "h": 256
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#1F487D
secondary
#B08348
accent
#9E44E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F487D

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

Preview Lab → · Contrast checker → · Palette generator →

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