#1F5280#1F5280

#1F5280 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.094 H 249.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#1F5280
RGBrgb(31, 82, 128)
HSLhsl(208, 61%, 31%)
HSVhsv(208, 76%, 50%)
CMYKcmyk(75.8%, 35.9%, 0%, 49.8%)
CIE-LABlab(33.74, -0.15, -30.79)
CIE-LCHlch(33.74, 30.79, 269.72°)
OKLaboklab(42.8% -0.0336 -0.0875)
OKLCHoklch(42.8% 0.094 249)
XYZxyz(7.4772, 7.8836, 21.5455)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5280 #804D1F
analogous
#1F807D #1F5280 #1F2180
triadic
#1F5280 #801F52 #52801F
tetradic
#1F5280 #7D1F80 #804D1F #21801F
square
#1F5280 #7D1F80 #804D1F #21801F
split-complementary
#1F5280 #801F21 #807D1F
monochromatic
#07131D #13324F #1F5280 #2B72B1 #4790D2

Accessibility & contrast

On white

8.15
#1F5280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1F5280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5280
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5280#FFFFFF#000000##FFFFFF
##1F52801.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5482
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5280;
/* rgb */ color: rgb(31, 82, 128);
/* oklch */ color: oklch(42.8% 0.094 249.0);
Tailwind
colors: {
  custom: {
    50: '#6982a5',
    500: '#1f5280',
    950: '#000000',
  },
}
SCSS
$custom: #1f5280;
$custom-light: #6982a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5280",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 208.454,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.0937,
    "h": 249
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#1F5280
secondary
#B37B48
accent
#9044E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5280

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

Preview Lab → · Contrast checker → · Palette generator →

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