#1F5166#1F5166

#1F5166 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.1% C 0.063 H 228.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1F5166
RGBrgb(31, 81, 102)
HSLhsl(198, 53%, 26%)
HSVhsv(198, 70%, 40%)
CMYKcmyk(69.6%, 20.6%, 0%, 60%)
CIE-LABlab(32.11, -9.35, -17.11)
CIE-LCHlch(32.11, 19.50, 241.34°)
OKLaboklab(41.08% -0.0417 -0.0478)
OKLCHoklch(41.08% 0.063 228.9)
XYZxyz(5.9048, 7.1348, 13.6338)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5166 #66341F
analogous
#1F6657 #1F5166 #1F2D66
triadic
#1F5166 #661F51 #51661F
tetradic
#1F5166 #571F66 #66341F #2D661F
square
#1F5166 #571F66 #66341F #2D661F
split-complementary
#1F5166 #661F2D #66571F
monochromatic
#071317 #112C37 #1F5166 #2D7695 #3C9BC4

Accessibility & contrast

On white

8.65
#1F5166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F5166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5166
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5166#FFFFFF#000000##FFFFFF
##1F51661.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465067
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#005758
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f5166;
/* rgb */ color: rgb(31, 81, 102);
/* oklch */ color: oklch(41.1% 0.063 228.9);
Tailwind
colors: {
  custom: {
    50: '#648191',
    500: '#1f5166',
    950: '#000000',
  },
}
SCSS
$custom: #1f5166;
$custom-light: #648191;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5166",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 197.746,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41083,
    "c": 0.06346,
    "h": 228.9
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#1F5166
secondary
#9A5F46
accent
#764BDD
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F5166

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

Preview Lab → · Contrast checker → · Palette generator →

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