#1F838C#1F838C

#1F838C is a mid, moderate teal. Relative luminance 0.184; OKLCH L 56.0% C 0.087 H 204.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F838C
RGBrgb(31, 131, 140)
HSLhsl(185, 64%, 34%)
HSVhsv(185, 78%, 55%)
CMYKcmyk(77.9%, 6.4%, 0%, 45.1%)
CIE-LABlab(50.00, -24.15, -12.87)
CIE-LCHlch(50.00, 27.37, 208.05°)
OKLaboklab(55.97% -0.0798 -0.0358)
OKLCHoklch(55.97% 0.087 204.1)
XYZxyz(13.4129, 18.4157, 27.6535)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F838C #8C281F
analogous
#1F8C5E #1F838C #1F4C8C
triadic
#1F838C #8C1F83 #838C1F
tetradic
#1F838C #5E1F8C #8C281F #4C8C1F
square
#1F838C #5E1F8C #8C281F #4C8C1F
split-complementary
#1F838C #8C1F4C #8C5E1F
monochromatic
#092528 #14545A #1F838C #2AB2BE #4ECCD8

Accessibility & contrast

On white

4.48
#1F838C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#1F838C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F838C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F838C#FFFFFF#000000##000000
##1F838C1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787D8D
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#008986
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f838c;
/* rgb */ color: rgb(31, 131, 140);
/* oklch */ color: oklch(56.0% 0.087 204.1);
Tailwind
colors: {
  custom: {
    50: '#6ea7ad',
    500: '#1f838c',
    950: '#000000',
  },
}
SCSS
$custom: #1f838c;
$custom-light: #6ea7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f838c",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 140
  },
  "hsl": {
    "h": 184.954,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.08746,
    "h": 204.1
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#1F838C
secondary
#BB554C
accent
#4F41E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F838C

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

Preview Lab → · Contrast checker → · Palette generator →

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