#1F5583#1F5583

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

Color values

HEX#1F5583
RGBrgb(31, 85, 131)
HSLhsl(208, 62%, 32%)
HSVhsv(208, 76%, 51%)
CMYKcmyk(76.3%, 35.1%, 0%, 48.6%)
CIE-LABlab(34.85, -0.92, -30.87)
CIE-LCHlch(34.85, 30.89, 268.30°)
OKLaboklab(43.73% -0.0357 -0.0877)
OKLCHoklch(43.73% 0.095 247.8)
XYZxyz(7.9087, 8.4261, 22.6779)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5583 #834D1F
analogous
#1F837F #1F5583 #1F2383
triadic
#1F5583 #831F55 #55831F
tetradic
#1F5583 #7F1F83 #834D1F #23831F
square
#1F5583 #7F1F83 #834D1F #23831F
split-complementary
#1F5583 #831F23 #837F1F
monochromatic
#081520 #133552 #1F5583 #2B75B4 #4994D4

Accessibility & contrast

On white

7.82
#1F5583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F5583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5583
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5583#FFFFFF#000000##FFFFFF
##1F55831.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405785
Deuteranopia (green-blind)
#324E82
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5583;
/* rgb */ color: rgb(31, 85, 131);
/* oklch */ color: oklch(43.7% 0.095 247.8);
Tailwind
colors: {
  custom: {
    50: '#6984a7',
    500: '#1f5583',
    950: '#000000',
  },
}
SCSS
$custom: #1f5583;
$custom-light: #6984a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5583",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 131
  },
  "hsl": {
    "h": 207.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4373,
    "c": 0.09468,
    "h": 247.8
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5583

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

Preview Lab → · Contrast checker → · Palette generator →

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