#1F5783#1F5783

#1F5783 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.093 H 246.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1F5783
RGBrgb(31, 87, 131)
HSLhsl(206, 62%, 32%)
HSVhsv(206, 76%, 51%)
CMYKcmyk(76.3%, 33.6%, 0%, 48.6%)
CIE-LABlab(35.49, -2.19, -29.87)
CIE-LCHlch(35.49, 29.95, 265.80°)
OKLaboklab(44.23% -0.0377 -0.0847)
OKLCHoklch(44.23% 0.093 246)
XYZxyz(8.0684, 8.7455, 22.7311)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5783 #834B1F
analogous
#1F837D #1F5783 #1F2583
triadic
#1F5783 #831F57 #57831F
tetradic
#1F5783 #7D1F83 #834B1F #25831F
square
#1F5783 #7D1F83 #834B1F #25831F
split-complementary
#1F5783 #831F25 #837D1F
monochromatic
#081520 #133652 #1F5783 #2B78B4 #4997D4

Accessibility & contrast

On white

7.64
#1F5783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F5783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5783
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5783#FFFFFF#000000##FFFFFF
##1F57831.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435985
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5783;
/* rgb */ color: rgb(31, 87, 131);
/* oklch */ color: oklch(44.2% 0.093 246.0);
Tailwind
colors: {
  custom: {
    50: '#6986a7',
    500: '#1f5783',
    950: '#000000',
  },
}
SCSS
$custom: #1f5783;
$custom-light: #6986a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5783",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 131
  },
  "hsl": {
    "h": 206.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.09276,
    "h": 246
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#1F5783
secondary
#B67848
accent
#8A43E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5783

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

Preview Lab → · Contrast checker → · Palette generator →

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