#1F487E#1F487E

#1F487E is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.2% C 0.102 H 256.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1F487E
RGBrgb(31, 72, 126)
HSLhsl(214, 61%, 31%)
HSVhsv(214, 75%, 49%)
CMYKcmyk(75.4%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.48, 5.67, -34.73)
CIE-LCHlch(30.48, 35.19, 279.27°)
OKLaboklab(40.21% -0.024 -0.0992)
OKLCHoklch(40.21% 0.102 256.4)
XYZxyz(6.6470, 6.4317, 20.6257)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F487E #7E551F
analogous
#1F777E #1F487E #251F7E
triadic
#1F487E #7E1F48 #487E1F
tetradic
#1F487E #7E1F77 #7E551F #1F7E25
square
#1F487E #7E1F77 #7E551F #1F7E25
split-complementary
#1F487E #7E251F #777E1F
monochromatic
#07101C #132C4D #1F487E #2B64AF #4682D1

Accessibility & contrast

On white

9.18
#1F487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F487E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F487E#FFFFFF#000000##FFFFFF
##1F487E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f487e;
/* rgb */ color: rgb(31, 72, 126);
/* oklch */ color: oklch(40.2% 0.102 256.4);
Tailwind
colors: {
  custom: {
    50: '#687aa4',
    500: '#1f487e',
    950: '#000000',
  },
}
SCSS
$custom: #1f487e;
$custom-light: #687aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f487e",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 214.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.10208,
    "h": 256.4
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#1F487E
secondary
#B18448
accent
#9F44E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F487E

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

Preview Lab → · Contrast checker → · Palette generator →

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