#1F537F#1F537F

#1F537F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.091 H 247.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1F537F
RGBrgb(31, 83, 127)
HSLhsl(208, 61%, 31%)
HSVhsv(208, 76%, 50%)
CMYKcmyk(75.6%, 34.6%, 0%, 50.2%)
CIE-LABlab(34.00, -1.19, -29.76)
CIE-LCHlch(34.00, 29.78, 267.72°)
OKLaboklab(42.99% -0.0349 -0.0844)
OKLCHoklch(42.99% 0.091 247.5)
XYZxyz(7.4876, 8.0093, 21.2259)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F537F #7F4B1F
analogous
#1F7F7B #1F537F #1F237F
triadic
#1F537F #7F1F53 #537F1F
tetradic
#1F537F #7B1F7F #7F4B1F #237F1F
square
#1F537F #7B1F7F #7F4B1F #237F1F
split-complementary
#1F537F #7F1F23 #7F7B1F
monochromatic
#07131D #13334E #1F537F #2B73B0 #4692D2

Accessibility & contrast

On white

8.07
#1F537F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F537F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F537F#FFFFFF#000000##FFFFFF
##1F537F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#005E63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f537f;
/* rgb */ color: rgb(31, 83, 127);
/* oklch */ color: oklch(43.0% 0.091 247.5);
Tailwind
colors: {
  custom: {
    50: '#6883a4',
    500: '#1f537f',
    950: '#000000',
  },
}
SCSS
$custom: #1f537f;
$custom-light: #6883a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f537f",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 127
  },
  "hsl": {
    "h": 207.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42988,
    "c": 0.09138,
    "h": 247.5
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#1F537F
secondary
#B27848
accent
#8D44E4
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F537F

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

Preview Lab → · Contrast checker → · Palette generator →

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