#1F537E#1F537E

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

Color values

HEX#1F537E
RGBrgb(31, 83, 126)
HSLhsl(207, 61%, 31%)
HSVhsv(207, 75%, 49%)
CMYKcmyk(75.4%, 34.1%, 0%, 50.6%)
CIE-LABlab(33.95, -1.57, -29.22)
CIE-LCHlch(33.95, 29.27, 266.92°)
OKLaboklab(42.93% -0.0352 -0.0829)
OKLCHoklch(42.93% 0.09 247)
XYZxyz(7.4228, 7.9833, 20.8844)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F537E #7E4A1F
analogous
#1F7E79 #1F537E #1F237E
triadic
#1F537E #7E1F53 #537E1F
tetradic
#1F537E #791F7E #7E4A1F #237E1F
square
#1F537E #791F7E #7E4A1F #237E1F
split-complementary
#1F537E #7E1F23 #7E791F
monochromatic
#07121C #13334D #1F537E #2B73AF #4692D1

Accessibility & contrast

On white

8.09
#1F537E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1F537E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F537E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F537E#FFFFFF#000000##FFFFFF
##1F537E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f537e;
/* rgb */ color: rgb(31, 83, 126);
/* oklch */ color: oklch(42.9% 0.090 247.0);
Tailwind
colors: {
  custom: {
    50: '#6883a3',
    500: '#1f537e',
    950: '#000000',
  },
}
SCSS
$custom: #1f537e;
$custom-light: #6883a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f537e",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 126
  },
  "hsl": {
    "h": 207.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.09007,
    "h": 247
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#1F537E
secondary
#B17748
accent
#8C44E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F537E

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

Preview Lab → · Contrast checker → · Palette generator →

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