#1F5282#1F5282

#1F5282 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.096 H 250.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1F5282
RGBrgb(31, 82, 130)
HSLhsl(209, 61%, 32%)
HSVhsv(209, 76%, 51%)
CMYKcmyk(76.2%, 36.9%, 0%, 49%)
CIE-LABlab(33.85, 0.63, -31.84)
CIE-LCHlch(33.85, 31.85, 271.13°)
OKLaboklab(42.92% -0.033 -0.0906)
OKLCHoklch(42.92% 0.096 250)
XYZxyz(7.6101, 7.9367, 22.2456)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5282 #824F1F
analogous
#1F8281 #1F5282 #1F2082
triadic
#1F5282 #821F52 #52821F
tetradic
#1F5282 #811F82 #824F1F #20821F
square
#1F5282 #811F82 #824F1F #20821F
split-complementary
#1F5282 #821F20 #82811F
monochromatic
#07141F #133351 #1F5282 #2B71B3 #4890D3

Accessibility & contrast

On white

8.12
#1F5282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F5282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5282
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5282#FFFFFF#000000##FFFFFF
##1F52821.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#2D4B81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5282;
/* rgb */ color: rgb(31, 82, 130);
/* oklch */ color: oklch(42.9% 0.096 250.0);
Tailwind
colors: {
  custom: {
    50: '#6982a6',
    500: '#1f5282',
    950: '#000000',
  },
}
SCSS
$custom: #1f5282;
$custom-light: #6982a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5282",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 209.091,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42923,
    "c": 0.09639,
    "h": 250
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#1F5282
secondary
#B57D48
accent
#9143E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5282

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

Preview Lab → · Contrast checker → · Palette generator →

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