#1F5085#1F5085

#1F5085 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.103 H 252.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#1F5085
RGBrgb(31, 80, 133)
HSLhsl(211, 62%, 32%)
HSVhsv(211, 77%, 52%)
CMYKcmyk(76.7%, 39.8%, 0%, 47.8%)
CIE-LABlab(33.40, 3.12, -34.41)
CIE-LCHlch(33.40, 34.56, 275.17°)
OKLaboklab(42.62% -0.0302 -0.0981)
OKLCHoklch(42.62% 0.103 252.9)
XYZxyz(7.6658, 7.7212, 23.2721)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5085 #85541F
analogous
#1F8385 #1F5085 #211F85
triadic
#1F5085 #851F50 #50851F
tetradic
#1F5085 #851F83 #85541F #1F8521
square
#1F5085 #851F83 #85541F #1F8521
split-complementary
#1F5085 #85211F #83851F
monochromatic
#081422 #133253 #1F5085 #2B6EB7 #4A8CD5

Accessibility & contrast

On white

8.25
#1F5085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1F5085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5085
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5085#FFFFFF#000000##FFFFFF
##1F50851.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5085;
/* rgb */ color: rgb(31, 80, 133);
/* oklch */ color: oklch(42.6% 0.103 252.9);
Tailwind
colors: {
  custom: {
    50: '#6a80a9',
    500: '#1f5085',
    950: '#000000',
  },
}
SCSS
$custom: #1f5085;
$custom-light: #6a80a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5085",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 133
  },
  "hsl": {
    "h": 211.176,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.10267,
    "h": 252.9
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#1F5085
secondary
#B78249
accent
#9743E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5085

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

Preview Lab → · Contrast checker → · Palette generator →

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