#1F537C#1F537C

#1F537C is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.087 H 245.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1F537C
RGBrgb(31, 83, 124)
HSLhsl(206, 60%, 30%)
HSVhsv(206, 75%, 49%)
CMYKcmyk(75%, 33.1%, 0%, 51.4%)
CIE-LABlab(33.84, -2.35, -28.16)
CIE-LCHlch(33.84, 28.25, 265.24°)
OKLaboklab(42.81% -0.0358 -0.0798)
OKLCHoklch(42.81% 0.087 245.8)
XYZxyz(7.2950, 7.9322, 20.2115)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F537C #7C481F
analogous
#1F7C76 #1F537C #1F247C
triadic
#1F537C #7C1F53 #537C1F
tetradic
#1F537C #761F7C #7C481F #247C1F
square
#1F537C #761F7C #7C481F #247C1F
split-complementary
#1F537C #7C1F24 #7C761F
monochromatic
#07111A #13324B #1F537C #2B74AD #4593D0

Accessibility & contrast

On white

8.12
#1F537C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F537C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F537C#FFFFFF#000000##FFFFFF
##1F537C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#334C7B
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f537c;
/* rgb */ color: rgb(31, 83, 124);
/* oklch */ color: oklch(42.8% 0.087 245.8);
Tailwind
colors: {
  custom: {
    50: '#6883a2',
    500: '#1f537c',
    950: '#000000',
  },
}
SCSS
$custom: #1f537c;
$custom-light: #6883a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f537c",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 124
  },
  "hsl": {
    "h": 206.452,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.08746,
    "h": 245.8
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#1F537C
secondary
#AF7548
accent
#8B45E3
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1F537C

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

Preview Lab → · Contrast checker → · Palette generator →

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