#1F5684#1F5684

#1F5684 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.0% C 0.095 H 247.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#1F5684
RGBrgb(31, 86, 132)
HSLhsl(207, 62%, 32%)
HSVhsv(207, 77%, 52%)
CMYKcmyk(76.5%, 34.8%, 0%, 48.2%)
CIE-LABlab(35.23, -1.17, -30.90)
CIE-LCHlch(35.23, 30.92, 267.83°)
OKLaboklab(44.04% -0.0364 -0.0877)
OKLCHoklch(44.04% 0.095 247.5)
XYZxyz(8.0561, 8.6119, 23.0630)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5684 #844D1F
analogous
#1F8480 #1F5684 #1F2384
triadic
#1F5684 #841F56 #56841F
tetradic
#1F5684 #801F84 #844D1F #23841F
square
#1F5684 #801F84 #844D1F #23841F
split-complementary
#1F5684 #841F23 #84801F
monochromatic
#081521 #133652 #1F5684 #2B76B6 #4995D4

Accessibility & contrast

On white

7.71
#1F5684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1F5684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5684
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5684#FFFFFF#000000##FFFFFF
##1F56841.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415886
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5684;
/* rgb */ color: rgb(31, 86, 132);
/* oklch */ color: oklch(44.0% 0.095 247.5);
Tailwind
colors: {
  custom: {
    50: '#6a85a8',
    500: '#1f5684',
    950: '#000000',
  },
}
SCSS
$custom: #1f5684;
$custom-light: #6a85a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5684",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 207.327,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.09501,
    "h": 247.5
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#1F5684
secondary
#B77A48
accent
#8D43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5684

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

Preview Lab → · Contrast checker → · Palette generator →

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