#1F5086#1F5086

#1F5086 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.104 H 253.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1F5086
RGBrgb(31, 80, 134)
HSLhsl(211, 62%, 32%)
HSVhsv(211, 77%, 53%)
CMYKcmyk(76.9%, 40.3%, 0%, 47.5%)
CIE-LABlab(33.45, 3.51, -34.94)
CIE-LCHlch(33.45, 35.11, 275.74°)
OKLaboklab(42.69% -0.0299 -0.0997)
OKLCHoklch(42.69% 0.104 253.3)
XYZxyz(7.7352, 7.7490, 23.6377)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5086 #86551F
analogous
#1F8486 #1F5086 #211F86
triadic
#1F5086 #861F50 #50861F
tetradic
#1F5086 #861F84 #86551F #1F8621
square
#1F5086 #861F84 #86551F #1F8621
split-complementary
#1F5086 #86211F #84861F
monochromatic
#081523 #143254 #1F5086 #2A6EB8 #4A8CD5

Accessibility & contrast

On white

8.24
#1F5086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1F5086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5086
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5086#FFFFFF#000000##FFFFFF
##1F50861.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5086;
/* rgb */ color: rgb(31, 80, 134);
/* oklch */ color: oklch(42.7% 0.104 253.3);
Tailwind
colors: {
  custom: {
    50: '#6a80a9',
    500: '#1f5086',
    950: '#000000',
  },
}
SCSS
$custom: #1f5086;
$custom-light: #6a80a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5086",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 134
  },
  "hsl": {
    "h": 211.456,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.10405,
    "h": 253.3
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#1F5086
secondary
#B88349
accent
#9842E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5086

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

Preview Lab → · Contrast checker → · Palette generator →

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