#1F487F#1F487F

#1F487F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.104 H 256.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#1F487F
RGBrgb(31, 72, 127)
HSLhsl(214, 61%, 31%)
HSVhsv(214, 76%, 50%)
CMYKcmyk(75.6%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.54, 6.07, -35.25)
CIE-LCHlch(30.54, 35.77, 279.77°)
OKLaboklab(40.28% -0.0238 -0.1007)
OKLCHoklch(40.28% 0.104 256.7)
XYZxyz(6.7118, 6.4576, 20.9673)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F487F #7F561F
analogous
#1F787F #1F487F #261F7F
triadic
#1F487F #7F1F48 #487F1F
tetradic
#1F487F #7F1F78 #7F561F #1F7F26
square
#1F487F #7F1F78 #7F561F #1F7F26
split-complementary
#1F487F #7F261F #787F1F
monochromatic
#07101D #132C4E #1F487F #2B64B0 #4682D2

Accessibility & contrast

On white

9.16
#1F487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1F487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F487F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F487F#FFFFFF#000000##FFFFFF
##1F487F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#1D447E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f487f;
/* rgb */ color: rgb(31, 72, 127);
/* oklch */ color: oklch(40.3% 0.104 256.7);
Tailwind
colors: {
  custom: {
    50: '#687aa4',
    500: '#1f487f',
    950: '#000000',
  },
}
SCSS
$custom: #1f487f;
$custom-light: #687aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f487f",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 214.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.10352,
    "h": 256.7
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#1F487F
secondary
#B28548
accent
#A044E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F487F

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

Preview Lab → · Contrast checker → · Palette generator →

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