#1F537D#1F537D

#1F537D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.9% C 0.089 H 246.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#1F537D
RGBrgb(31, 83, 125)
HSLhsl(207, 60%, 31%)
HSVhsv(207, 75%, 49%)
CMYKcmyk(75.2%, 33.6%, 0%, 51%)
CIE-LABlab(33.89, -1.96, -28.69)
CIE-LCHlch(33.89, 28.76, 266.09°)
OKLaboklab(42.87% -0.0355 -0.0813)
OKLCHoklch(42.87% 0.089 246.4)
XYZxyz(7.3586, 7.9577, 20.5462)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F537D #7D491F
analogous
#1F7D78 #1F537D #1F247D
triadic
#1F537D #7D1F53 #537D1F
tetradic
#1F537D #781F7D #7D491F #247D1F
square
#1F537D #781F7D #7D491F #247D1F
split-complementary
#1F537D #7D1F24 #7D781F
monochromatic
#07121B #13324C #1F537D #2B74AE #4593D1

Accessibility & contrast

On white

8.10
#1F537D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F537D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F537D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F537D#FFFFFF#000000##FFFFFF
##1F537D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f537d;
/* rgb */ color: rgb(31, 83, 125);
/* oklch */ color: oklch(42.9% 0.089 246.4);
Tailwind
colors: {
  custom: {
    50: '#6883a3',
    500: '#1f537d',
    950: '#000000',
  },
}
SCSS
$custom: #1f537d;
$custom-light: #6883a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f537d",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 125
  },
  "hsl": {
    "h": 206.809,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.08876,
    "h": 246.4
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#1F537D
secondary
#B07648
accent
#8B44E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F537D

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

Preview Lab → · Contrast checker → · Palette generator →

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