#1F5781#1F5781

#1F5781 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.090 H 244.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#1F5781
RGBrgb(31, 87, 129)
HSLhsl(206, 61%, 31%)
HSVhsv(206, 76%, 51%)
CMYKcmyk(76%, 32.6%, 0%, 49.4%)
CIE-LABlab(35.38, -2.96, -28.81)
CIE-LCHlch(35.38, 28.96, 264.13°)
OKLaboklab(44.11% -0.0384 -0.0816)
OKLCHoklch(44.11% 0.09 244.8)
XYZxyz(7.9342, 8.6918, 22.0241)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5781 #81491F
analogous
#1F817A #1F5781 #1F2681
triadic
#1F5781 #811F57 #57811F
tetradic
#1F5781 #7A1F81 #81491F #26811F
square
#1F5781 #7A1F81 #81491F #26811F
split-complementary
#1F5781 #811F26 #817A1F
monochromatic
#07141E #133650 #1F5781 #2B78B2 #4797D3

Accessibility & contrast

On white

7.67
#1F5781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F5781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5781
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5781#FFFFFF#000000##FFFFFF
##1F57811.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445883
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5781;
/* rgb */ color: rgb(31, 87, 129);
/* oklch */ color: oklch(44.1% 0.090 244.8);
Tailwind
colors: {
  custom: {
    50: '#6986a6',
    500: '#1f5781',
    950: '#000000',
  },
}
SCSS
$custom: #1f5781;
$custom-light: #6986a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5781",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 205.714,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.09021,
    "h": 244.8
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#1F5781
secondary
#B47648
accent
#8843E4
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5781

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

Preview Lab → · Contrast checker → · Palette generator →

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