#1F536B#1F536B

#1F536B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 41.9% C 0.068 H 231.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1F536B
RGBrgb(31, 83, 107)
HSLhsl(199, 55%, 27%)
HSVhsv(199, 71%, 42%)
CMYKcmyk(71%, 22.4%, 0%, 58%)
CIE-LABlab(33.00, -8.75, -18.87)
CIE-LCHlch(33.00, 20.80, 245.12°)
OKLaboklab(41.87% -0.042 -0.0529)
OKLCHoklch(41.87% 0.068 231.6)
XYZxyz(6.3111, 7.5387, 15.0296)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F536B #6B371F
analogous
#1F6B5D #1F536B #1F2D6B
triadic
#1F536B #6B1F53 #536B1F
tetradic
#1F536B #5D1F6B #6B371F #2D6B1F
square
#1F536B #5D1F6B #6B371F #2D6B1F
split-complementary
#1F536B #6B1F2D #6B5D1F
monochromatic
#071218 #112E3C #1F536B #2D789A #3D9CC7

Accessibility & contrast

On white

8.37
#1F536B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1F536B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F536B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F536B#FFFFFF#000000##FFFFFF
##1F536B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526C
Deuteranopia (green-blind)
#3D4A6B
Tritanopia (blue-blind)
#005A5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f536b;
/* rgb */ color: rgb(31, 83, 107);
/* oklch */ color: oklch(41.9% 0.068 231.6);
Tailwind
colors: {
  custom: {
    50: '#658395',
    500: '#1f536b',
    950: '#000000',
  },
}
SCSS
$custom: #1f536b;
$custom-light: #658395;
$custom-dark: #000000;
JSON
{
  "hex": "#1f536b",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 107
  },
  "hsl": {
    "h": 198.947,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.06753,
    "h": 231.6
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#1F536B
secondary
#9F6347
accent
#7849DE
background
#F6F8F9
surface
#EBEFF1
border
#C6CACB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1F536B

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

Preview Lab → · Contrast checker → · Palette generator →

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