#1F5285#1F5285

#1F5285 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.100 H 251.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1F5285
RGBrgb(31, 82, 133)
HSLhsl(210, 62%, 32%)
HSVhsv(210, 77%, 52%)
CMYKcmyk(76.7%, 38.3%, 0%, 47.8%)
CIE-LABlab(34.02, 1.81, -33.42)
CIE-LCHlch(34.02, 33.47, 273.09°)
OKLaboklab(43.11% -0.0321 -0.0952)
OKLCHoklch(43.11% 0.1 251.3)
XYZxyz(7.8144, 8.0185, 23.3216)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5285 #85521F
analogous
#1F8585 #1F5285 #1F1F85
triadic
#1F5285 #851F52 #52851F
tetradic
#1F5285 #851F85 #85521F #1F851F
square
#1F5285 #851F85 #85521F #1F851F
split-complementary
#1F5285 #851F1F #85851F
monochromatic
#081522 #133353 #1F5285 #2B71B7 #4A8FD5

Accessibility & contrast

On white

8.07
#1F5285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1F5285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5285
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5285#FFFFFF#000000##FFFFFF
##1F52851.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5285;
/* rgb */ color: rgb(31, 82, 133);
/* oklch */ color: oklch(43.1% 0.100 251.3);
Tailwind
colors: {
  custom: {
    50: '#6a82a9',
    500: '#1f5285',
    950: '#000000',
  },
}
SCSS
$custom: #1f5285;
$custom-light: #6a82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5285",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 210,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.10047,
    "h": 251.3
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#1F5285
secondary
#B78049
accent
#9443E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5285

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

Preview Lab → · Contrast checker → · Palette generator →

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