#1F515F#1F515F

#1F515F is a dark, muted cyan. Relative luminance 0.070; OKLCH L 40.7% C 0.058 H 219.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1F515F
RGBrgb(31, 81, 95)
HSLhsl(193, 51%, 25%)
HSVhsv(193, 67%, 37%)
CMYKcmyk(67.4%, 14.7%, 0%, 62.7%)
CIE-LABlab(31.81, -11.84, -13.14)
CIE-LCHlch(31.81, 17.69, 227.97°)
OKLaboklab(40.74% -0.0447 -0.0366)
OKLCHoklch(40.74% 0.058 219.3)
XYZxyz(5.5722, 7.0018, 11.8821)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F515F #5F2D1F
analogous
#1F5F4D #1F515F #1F315F
triadic
#1F515F #5F1F51 #515F1F
tetradic
#1F515F #4D1F5F #5F2D1F #315F1F
square
#1F515F #4D1F5F #5F2D1F #315F1F
split-complementary
#1F515F #5F1F31 #5F4D1F
monochromatic
#081417 #102A31 #1F515F #2E788D #3DA0BB

Accessibility & contrast

On white

8.75
#1F515F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F515F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F515F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F515F#FFFFFF#000000##FFFFFF
##1F515F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#3F485F
Tritanopia (blue-blind)
#005655
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f515f;
/* rgb */ color: rgb(31, 81, 95);
/* oklch */ color: oklch(40.7% 0.058 219.3);
Tailwind
colors: {
  custom: {
    50: '#63828c',
    500: '#1f515f',
    950: '#000000',
  },
}
SCSS
$custom: #1f515f;
$custom-light: #63828c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f515f",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 193.125,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.05774,
    "h": 219.3
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#1F515F
secondary
#945746
accent
#6C4EDA
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1F515F

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

Preview Lab → · Contrast checker → · Palette generator →

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