#1F5582#1F5582

#1F5582 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.7% C 0.093 H 247.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#1F5582
RGBrgb(31, 85, 130)
HSLhsl(207, 61%, 32%)
HSVhsv(207, 76%, 51%)
CMYKcmyk(76.2%, 34.6%, 0%, 49%)
CIE-LABlab(34.80, -1.30, -30.34)
CIE-LCHlch(34.80, 30.37, 267.54°)
OKLaboklab(43.67% -0.036 -0.0861)
OKLCHoklch(43.67% 0.093 247.3)
XYZxyz(7.8413, 8.3991, 22.3227)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5582 #824C1F
analogous
#1F827E #1F5582 #1F2382
triadic
#1F5582 #821F55 #55821F
tetradic
#1F5582 #7E1F82 #824C1F #23821F
square
#1F5582 #7E1F82 #824C1F #23821F
split-complementary
#1F5582 #821F23 #827E1F
monochromatic
#07141F #133551 #1F5582 #2B75B3 #4894D3

Accessibility & contrast

On white

7.84
#1F5582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#1F5582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5582
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5582#FFFFFF#000000##FFFFFF
##1F55821.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#324E81
Tritanopia (blue-blind)
#006065
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5582;
/* rgb */ color: rgb(31, 85, 130);
/* oklch */ color: oklch(43.7% 0.093 247.3);
Tailwind
colors: {
  custom: {
    50: '#6984a6',
    500: '#1f5582',
    950: '#000000',
  },
}
SCSS
$custom: #1f5582;
$custom-light: #6984a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5582",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 130
  },
  "hsl": {
    "h": 207.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43669,
    "c": 0.09337,
    "h": 247.3
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#1F5582
secondary
#B57948
accent
#8D43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F5582

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

Preview Lab → · Contrast checker → · Palette generator →

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