#1F487C#1F487C

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

Color values

HEX#1F487C
RGBrgb(31, 72, 124)
HSLhsl(214, 60%, 30%)
HSVhsv(214, 75%, 49%)
CMYKcmyk(75%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.35, 4.87, -33.68)
CIE-LCHlch(30.35, 34.03, 278.23°)
OKLaboklab(40.08% -0.0245 -0.0961)
OKLCHoklch(40.08% 0.099 255.7)
XYZxyz(6.5192, 6.3806, 19.9529)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F487C #7C531F
analogous
#1F767C #1F487C #241F7C
triadic
#1F487C #7C1F48 #487C1F
tetradic
#1F487C #7C1F76 #7C531F #1F7C24
square
#1F487C #7C1F76 #7C531F #1F7C24
split-complementary
#1F487C #7C241F #767C1F
monochromatic
#070F1A #132C4B #1F487C #2B64AD #4582D0

Accessibility & contrast

On white

9.23
#1F487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F487C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F487C#FFFFFF#000000##FFFFFF
##1F487C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f487c;
/* rgb */ color: rgb(31, 72, 124);
/* oklch */ color: oklch(40.1% 0.099 255.7);
Tailwind
colors: {
  custom: {
    50: '#687aa2',
    500: '#1f487c',
    950: '#000000',
  },
}
SCSS
$custom: #1f487c;
$custom-light: #687aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f487c",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 213.548,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.0992,
    "h": 255.7
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#1F487C
secondary
#AF8248
accent
#9D45E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F487C

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

Preview Lab → · Contrast checker → · Palette generator →

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