#1F487B#1F487B

#1F487B is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.098 H 255.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1F487B
RGBrgb(31, 72, 123)
HSLhsl(213, 60%, 30%)
HSVhsv(213, 75%, 48%)
CMYKcmyk(74.8%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.29, 4.48, -33.15)
CIE-LCHlch(30.29, 33.45, 277.69°)
OKLaboklab(40.01% -0.0248 -0.0946)
OKLCHoklch(40.01% 0.098 255.3)
XYZxyz(6.4563, 6.3554, 19.6215)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F487B #7B521F
analogous
#1F767B #1F487B #241F7B
triadic
#1F487B #7B1F48 #487B1F
tetradic
#1F487B #7B1F76 #7B521F #1F7B24
square
#1F487B #7B1F76 #7B521F #1F7B24
split-complementary
#1F487B #7B241F #767B1F
monochromatic
#060F19 #132B4A #1F487B #2B65AC #4483D0

Accessibility & contrast

On white

9.25
#1F487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1F487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F487B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F487B#FFFFFF#000000##FFFFFF
##1F487B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#22437A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f487b;
/* rgb */ color: rgb(31, 72, 123);
/* oklch */ color: oklch(40.0% 0.098 255.3);
Tailwind
colors: {
  custom: {
    50: '#687aa1',
    500: '#1f487b',
    950: '#000000',
  },
}
SCSS
$custom: #1f487b;
$custom-light: #687aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f487b",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 213.261,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40009,
    "c": 0.09777,
    "h": 255.3
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#1F487B
secondary
#AE8048
accent
#9C45E3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1F487B

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

Preview Lab → · Contrast checker → · Palette generator →

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