#1F5084#1F5084

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

Color values

HEX#1F5084
RGBrgb(31, 80, 132)
HSLhsl(211, 62%, 32%)
HSVhsv(211, 77%, 52%)
CMYKcmyk(76.5%, 39.4%, 0%, 48.2%)
CIE-LABlab(33.34, 2.72, -33.89)
CIE-LCHlch(33.34, 34.00, 274.59°)
OKLaboklab(42.56% -0.0304 -0.0966)
OKLCHoklch(42.56% 0.101 252.5)
XYZxyz(7.5970, 7.6937, 22.9100)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5084 #84531F
analogous
#1F8384 #1F5084 #211F84
triadic
#1F5084 #841F50 #50841F
tetradic
#1F5084 #841F83 #84531F #1F8421
square
#1F5084 #841F83 #84531F #1F8421
split-complementary
#1F5084 #84211F #83841F
monochromatic
#081421 #133252 #1F5084 #2B6EB6 #498DD4

Accessibility & contrast

On white

8.27
#1F5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5084
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5084#FFFFFF#000000##FFFFFF
##1F50841.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385386
Deuteranopia (green-blind)
#284A83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f5084;
/* rgb */ color: rgb(31, 80, 132);
/* oklch */ color: oklch(42.6% 0.101 252.5);
Tailwind
colors: {
  custom: {
    50: '#6980a8',
    500: '#1f5084',
    950: '#000000',
  },
}
SCSS
$custom: #1f5084;
$custom-light: #6980a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5084",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 210.891,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42558,
    "c": 0.10128,
    "h": 252.5
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#1F5084
secondary
#B78148
accent
#9643E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5084

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

Preview Lab → · Contrast checker → · Palette generator →

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