#1F6876#1F6876

#1F6876 is a mid, moderate teal. Relative luminance 0.115; OKLCH L 48.0% C 0.073 H 213.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#1F6876
RGBrgb(31, 104, 118)
HSLhsl(190, 58%, 29%)
HSVhsv(190, 74%, 46%)
CMYKcmyk(73.7%, 11.9%, 0%, 53.7%)
CIE-LABlab(40.41, -17.08, -14.30)
CIE-LCHlch(40.41, 22.27, 219.93°)
OKLaboklab(47.96% -0.0609 -0.0398)
OKLCHoklch(47.96% 0.073 213.2)
XYZxyz(8.7840, 11.4989, 18.8926)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6876 #762D1F
analogous
#1F7659 #1F6876 #1F3D76
triadic
#1F6876 #761F68 #68761F
tetradic
#1F6876 #591F76 #762D1F #3D761F
square
#1F6876 #591F76 #762D1F #3D761F
split-complementary
#1F6876 #761F3D #76591F
monochromatic
#061518 #123D46 #1F6876 #2C93A6 #42B7CD

Accessibility & contrast

On white

6.36
#1F6876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#1F6876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6876
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6876#FFFFFF#000000##FFFFFF
##1F68761.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6477
Deuteranopia (green-blind)
#515B76
Tritanopia (blue-blind)
#006E6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6876;
/* rgb */ color: rgb(31, 104, 118);
/* oklch */ color: oklch(48.0% 0.073 213.2);
Tailwind
colors: {
  custom: {
    50: '#68939d',
    500: '#1f6876',
    950: '#000000',
  },
}
SCSS
$custom: #1f6876;
$custom-light: #68939d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6876",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 118
  },
  "hsl": {
    "h": 189.655,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.07275,
    "h": 213.2
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#1F6876
secondary
#AA5747
accent
#5F46E2
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #1F6876

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

Preview Lab → · Contrast checker → · Palette generator →

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