#1F7A8A#1F7A8A

#1F7A8A is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.5% C 0.084 H 212.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F7A8A
RGBrgb(31, 122, 138)
HSLhsl(189, 63%, 33%)
HSVhsv(189, 78%, 54%)
CMYKcmyk(77.5%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.03, -20.09, -16.19)
CIE-LCHlch(47.03, 25.80, 218.86°)
OKLaboklab(53.55% -0.0714 -0.0451)
OKLCHoklch(53.55% 0.084 212.3)
XYZxyz(12.1101, 16.0439, 26.4984)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A8A #8A2F1F
analogous
#1F8A64 #1F7A8A #1F448A
triadic
#1F7A8A #8A1F7A #7A8A1F
tetradic
#1F7A8A #641F8A #8A2F1F #448A1F
square
#1F7A8A #641F8A #8A2F1F #448A1F
split-complementary
#1F7A8A #8A1F44 #8A641F
monochromatic
#092226 #144E58 #1F7A8A #2AA6BC #4CC2D7

Accessibility & contrast

On white

4.99
#1F7A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F7A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A8A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A8A#FFFFFF#000000##FFFFFF
##1F7A8A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7a8a;
/* rgb */ color: rgb(31, 122, 138);
/* oklch */ color: oklch(53.5% 0.084 212.3);
Tailwind
colors: {
  custom: {
    50: '#6da0ac',
    500: '#1f7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a8a;
$custom-light: #6da0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a8a",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 188.972,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.08443,
    "h": 212.3
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#1F7A8A
secondary
#BA5C4B
accent
#5A41E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #1F7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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