#1F5983#1F5983

#1F5983 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.7% C 0.091 H 244.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#1F5983
RGBrgb(31, 89, 131)
HSLhsl(205, 62%, 32%)
HSVhsv(205, 76%, 51%)
CMYKcmyk(76.3%, 32.1%, 0%, 48.6%)
CIE-LABlab(36.13, -3.46, -28.87)
CIE-LCHlch(36.13, 29.07, 263.18°)
OKLaboklab(44.73% -0.0398 -0.0818)
OKLCHoklch(44.73% 0.091 244)
XYZxyz(8.2326, 9.0738, 22.7859)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5983 #83491F
analogous
#1F837B #1F5983 #1F2783
triadic
#1F5983 #831F59 #59831F
tetradic
#1F5983 #7B1F83 #83491F #27831F
square
#1F5983 #7B1F83 #83491F #27831F
split-complementary
#1F5983 #831F27 #837B1F
monochromatic
#081620 #133752 #1F5983 #2B7BB4 #4999D4

Accessibility & contrast

On white

7.46
#1F5983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F5983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5983
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5983#FFFFFF#000000##FFFFFF
##1F59831.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A85
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5983;
/* rgb */ color: rgb(31, 89, 131);
/* oklch */ color: oklch(44.7% 0.091 244.0);
Tailwind
colors: {
  custom: {
    50: '#6987a7',
    500: '#1f5983',
    950: '#000000',
  },
}
SCSS
$custom: #1f5983;
$custom-light: #6987a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5983",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 131
  },
  "hsl": {
    "h": 205.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.09095,
    "h": 244
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#1F5983
secondary
#B67648
accent
#8743E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F5983

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

Preview Lab → · Contrast checker → · Palette generator →

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