#1F487A#1F487A

#1F487A is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.096 H 254.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1F487A
RGBrgb(31, 72, 122)
HSLhsl(213, 59%, 30%)
HSVhsv(213, 75%, 48%)
CMYKcmyk(74.6%, 41%, 0%, 52.2%)
CIE-LABlab(30.23, 4.08, -32.63)
CIE-LCHlch(30.23, 32.88, 277.13°)
OKLaboklab(39.94% -0.025 -0.093)
OKLCHoklch(39.94% 0.096 254.9)
XYZxyz(6.3940, 6.3305, 19.2935)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F487A #7A511F
analogous
#1F757A #1F487A #241F7A
triadic
#1F487A #7A1F48 #487A1F
tetradic
#1F487A #7A1F75 #7A511F #1F7A24
square
#1F487A #7A1F75 #7A511F #1F7A24
split-complementary
#1F487A #7A241F #757A1F
monochromatic
#060E18 #132B49 #1F487A #2B65AB #4483CF

Accessibility & contrast

On white

9.27
#1F487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F487A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F487A#FFFFFF#000000##FFFFFF
##1F487A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f487a;
/* rgb */ color: rgb(31, 72, 122);
/* oklch */ color: oklch(39.9% 0.096 254.9);
Tailwind
colors: {
  custom: {
    50: '#677aa1',
    500: '#1f487a',
    950: '#000000',
  },
}
SCSS
$custom: #1f487a;
$custom-light: #677aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f487a",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 212.967,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.09634,
    "h": 254.9
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F487A

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

Preview Lab → · Contrast checker → · Palette generator →

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