#1F5082#1F5082

#1F5082 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.099 H 251.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#1F5082
RGBrgb(31, 80, 130)
HSLhsl(210, 61%, 32%)
HSVhsv(210, 76%, 51%)
CMYKcmyk(76.2%, 38.5%, 0%, 49%)
CIE-LABlab(33.22, 1.93, -32.84)
CIE-LCHlch(33.22, 32.90, 273.37°)
OKLaboklab(42.43% -0.031 -0.0935)
OKLCHoklch(42.43% 0.099 251.7)
XYZxyz(7.4615, 7.6395, 22.1961)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5082 #82511F
analogous
#1F8282 #1F5082 #201F82
triadic
#1F5082 #821F50 #50821F
tetradic
#1F5082 #821F82 #82511F #1F8220
square
#1F5082 #821F82 #82511F #1F8220
split-complementary
#1F5082 #82201F #82821F
monochromatic
#07131F #133251 #1F5082 #2B6EB3 #488DD3

Accessibility & contrast

On white

8.31
#1F5082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1F5082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5082
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5082#FFFFFF#000000##FFFFFF
##1F50821.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f5082;
/* rgb */ color: rgb(31, 80, 130);
/* oklch */ color: oklch(42.4% 0.099 251.7);
Tailwind
colors: {
  custom: {
    50: '#6980a6',
    500: '#1f5082',
    950: '#000000',
  },
}
SCSS
$custom: #1f5082;
$custom-light: #6980a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5082",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 210.303,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.09853,
    "h": 251.7
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#1F5082
secondary
#B57F48
accent
#9543E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5082

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

Preview Lab → · Contrast checker → · Palette generator →

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