#1F5286#1F5286

#1F5286 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.102 H 251.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#1F5286
RGBrgb(31, 82, 134)
HSLhsl(210, 62%, 32%)
HSVhsv(210, 77%, 53%)
CMYKcmyk(76.9%, 38.8%, 0%, 47.5%)
CIE-LABlab(34.08, 2.20, -33.94)
CIE-LCHlch(34.08, 34.01, 273.71°)
OKLaboklab(43.18% -0.0319 -0.0967)
OKLCHoklch(43.18% 0.102 251.8)
XYZxyz(7.8838, 8.0462, 23.6872)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5286 #86531F
analogous
#1F8686 #1F5286 #1F1F86
triadic
#1F5286 #861F52 #52861F
tetradic
#1F5286 #861F86 #86531F #1F861F
square
#1F5286 #861F86 #86531F #1F861F
split-complementary
#1F5286 #861F1F #86861F
monochromatic
#081523 #143454 #1F5286 #2A70B8 #4A8FD5

Accessibility & contrast

On white

8.05
#1F5286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#1F5286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5286
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5286#FFFFFF#000000##FFFFFF
##1F52861.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5588
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5286;
/* rgb */ color: rgb(31, 82, 134);
/* oklch */ color: oklch(43.2% 0.102 251.8);
Tailwind
colors: {
  custom: {
    50: '#6a82a9',
    500: '#1f5286',
    950: '#000000',
  },
}
SCSS
$custom: #1f5286;
$custom-light: #6a82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5286",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 210.291,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.10184,
    "h": 251.8
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#1F5286
secondary
#B88149
accent
#9542E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5286

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

Preview Lab → · Contrast checker → · Palette generator →

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