#1F536F#1F536F

#1F536F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.072 H 235.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#1F536F
RGBrgb(31, 83, 111)
HSLhsl(201, 56%, 28%)
HSVhsv(201, 72%, 44%)
CMYKcmyk(72.1%, 25.2%, 0%, 56.5%)
CIE-LABlab(33.19, -7.27, -21.09)
CIE-LCHlch(33.19, 22.31, 250.97°)
OKLaboklab(42.08% -0.0404 -0.0593)
OKLCHoklch(42.08% 0.072 235.7)
XYZxyz(6.5265, 7.6248, 16.1636)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F536F #6F3B1F
analogous
#1F6F63 #1F536F #1F2B6F
triadic
#1F536F #6F1F53 #536F1F
tetradic
#1F536F #631F6F #6F3B1F #2B6F1F
square
#1F536F #631F6F #6F3B1F #2B6F1F
split-complementary
#1F536F #6F1F2B #6F631F
monochromatic
#071218 #122F3F #1F536F #2C779F #3F99C9

Accessibility & contrast

On white

8.32
#1F536F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1F536F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F536F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F536F#FFFFFF#000000##FFFFFF
##1F536F1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465270
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#005A5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f536f;
/* rgb */ color: rgb(31, 83, 111);
/* oklch */ color: oklch(42.1% 0.072 235.7);
Tailwind
colors: {
  custom: {
    50: '#658398',
    500: '#1f536f',
    950: '#000000',
  },
}
SCSS
$custom: #1f536f;
$custom-light: #658398;
$custom-dark: #000000;
JSON
{
  "hex": "#1f536f",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 111
  },
  "hsl": {
    "h": 201,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.07175,
    "h": 235.7
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#1F536F
secondary
#A36747
accent
#7D48E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F536F

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

Preview Lab → · Contrast checker → · Palette generator →

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