#1F514B#1F514B

#1F514B is a dark, muted teal. Relative luminance 0.067; OKLCH L 39.9% C 0.055 H 184.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#1F514B
RGBrgb(31, 81, 75)
HSLhsl(173, 45%, 22%)
HSVhsv(173, 62%, 32%)
CMYKcmyk(61.7%, 0%, 7.4%, 68.2%)
CIE-LABlab(31.08, -18.39, -1.52)
CIE-LCHlch(31.08, 18.46, 184.72°)
OKLaboklab(39.91% -0.0544 -0.0044)
OKLCHoklch(39.91% 0.055 184.6)
XYZxyz(4.7769, 6.6837, 7.6936)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F514B #511F25
analogous
#1F5132 #1F514B #1F3E51
triadic
#1F514B #4B1F51 #514B1F
tetradic
#1F514B #321F51 #511F25 #3E511F
square
#1F514B #321F51 #511F25 #3E511F
split-complementary
#1F514B #511F3E #51321F
monochromatic
#081614 #0E2522 #1F514B #307D74 #41AA9D

Accessibility & contrast

On white

8.99
#1F514B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F514B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F514B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F514B#FFFFFF#000000##FFFFFF
##1F514B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4B
Deuteranopia (green-blind)
#45474C
Tritanopia (blue-blind)
#00534F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f514b;
/* rgb */ color: rgb(31, 81, 75);
/* oklch */ color: oklch(39.9% 0.055 184.6);
Tailwind
colors: {
  custom: {
    50: '#61827d',
    500: '#1f514b',
    950: '#000000',
  },
}
SCSS
$custom: #1f514b;
$custom-light: #61827d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f514b",
  "rgb": {
    "r": 31,
    "g": 81,
    "b": 75
  },
  "hsl": {
    "h": 172.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.05454,
    "h": 184.6
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#1F514B
secondary
#86464E
accent
#5363D4
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A09
muted
#797C7B

Preview Lab

Preview with #1F514B

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

Preview Lab → · Contrast checker → · Palette generator →

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