#1F5259#1F5259

#1F5259 is a dark, muted teal. Relative luminance 0.070; OKLCH L 40.7% C 0.055 H 207.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#1F5259
RGBrgb(31, 82, 89)
HSLhsl(187, 48%, 24%)
HSVhsv(187, 65%, 35%)
CMYKcmyk(65.2%, 7.9%, 0%, 65.1%)
CIE-LABlab(31.91, -14.49, -9.18)
CIE-LCHlch(31.91, 17.15, 212.37°)
OKLaboklab(40.74% -0.0486 -0.0254)
OKLCHoklch(40.74% 0.055 207.6)
XYZxyz(5.3848, 7.0466, 10.5256)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5259 #59261F
analogous
#1F5943 #1F5259 #1F3559
triadic
#1F5259 #591F52 #52591F
tetradic
#1F5259 #431F59 #59261F #35591F
square
#1F5259 #431F59 #59261F #35591F
split-complementary
#1F5259 #591F35 #59431F
monochromatic
#081517 #0F282C #1F5259 #2F7C86 #3FA6B4

Accessibility & contrast

On white

8.72
#1F5259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1F5259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5259
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5259#FFFFFF#000000##FFFFFF
##1F52591.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#424859
Tritanopia (blue-blind)
#005654
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f5259;
/* rgb */ color: rgb(31, 82, 89);
/* oklch */ color: oklch(40.7% 0.055 207.6);
Tailwind
colors: {
  custom: {
    50: '#628287',
    500: '#1f5259',
    950: '#000000',
  },
}
SCSS
$custom: #1f5259;
$custom-light: #628287;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5259",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 89
  },
  "hsl": {
    "h": 187.241,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.0549,
    "h": 207.6
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#1F5259
secondary
#8E4F46
accent
#6050D8
background
#F6F8F8
surface
#EBEFEF
border
#C6CACA
text
#050A0B
muted
#7A7C7C

Preview Lab

Preview with #1F5259

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

Preview Lab → · Contrast checker → · Palette generator →

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