#1F4C86#1F4C86

#1F4C86 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.109 H 256.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#1F4C86
RGBrgb(31, 76, 134)
HSLhsl(214, 62%, 32%)
HSVhsv(214, 77%, 53%)
CMYKcmyk(76.9%, 43.3%, 0%, 47.5%)
CIE-LABlab(32.21, 6.17, -36.91)
CIE-LCHlch(32.21, 37.42, 279.49°)
OKLaboklab(41.72% -0.0261 -0.1055)
OKLCHoklch(41.72% 0.109 256.1)
XYZxyz(7.4510, 7.1806, 23.5429)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4C86 #86591F
analogous
#1F8086 #1F4C86 #251F86
triadic
#1F4C86 #861F4C #4C861F
tetradic
#1F4C86 #861F80 #86591F #1F8625
square
#1F4C86 #861F80 #86591F #1F8625
split-complementary
#1F4C86 #86251F #80861F
monochromatic
#081423 #143054 #1F4C86 #2A68B8 #4A87D5

Accessibility & contrast

On white

8.62
#1F4C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F4C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4C86
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4C86#FFFFFF#000000##FFFFFF
##1F4C861.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#1E4785
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f4c86;
/* rgb */ color: rgb(31, 76, 134);
/* oklch */ color: oklch(41.7% 0.109 256.1);
Tailwind
colors: {
  custom: {
    50: '#6a7da9',
    500: '#1f4c86',
    950: '#000000',
  },
}
SCSS
$custom: #1f4c86;
$custom-light: #6a7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4c86",
  "rgb": {
    "r": 31,
    "g": 76,
    "b": 134
  },
  "hsl": {
    "h": 213.786,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.10871,
    "h": 256.1
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#1F4C86
secondary
#B88749
accent
#9E42E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1F4C86

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

Preview Lab → · Contrast checker → · Palette generator →

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