#1F7783#1F7783

#1F7783 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.5% C 0.081 H 208.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F7783
RGBrgb(31, 119, 131)
HSLhsl(187, 62%, 32%)
HSVhsv(187, 76%, 51%)
CMYKcmyk(76.3%, 9.2%, 0%, 48.6%)
CIE-LABlab(45.80, -20.84, -13.91)
CIE-LCHlch(45.80, 25.06, 213.73°)
OKLaboklab(52.47% -0.0713 -0.0387)
OKLCHoklch(52.47% 0.081 208.5)
XYZxyz(11.2569, 15.1223, 23.7939)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7783 #832B1F
analogous
#1F835D #1F7783 #1F4583
triadic
#1F7783 #831F77 #77831F
tetradic
#1F7783 #5D1F83 #832B1F #45831F
square
#1F7783 #5D1F83 #832B1F #45831F
split-complementary
#1F7783 #831F45 #835D1F
monochromatic
#081D20 #134A52 #1F7783 #2BA4B4 #49C3D4

Accessibility & contrast

On white

5.22
#1F7783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F7783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7783
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7783#FFFFFF#000000##FFFFFF
##1F77831.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7284
Deuteranopia (green-blind)
#5E6883
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7783;
/* rgb */ color: rgb(31, 119, 131);
/* oklch */ color: oklch(52.5% 0.081 208.5);
Tailwind
colors: {
  custom: {
    50: '#6c9ea7',
    500: '#1f7783',
    950: '#000000',
  },
}
SCSS
$custom: #1f7783;
$custom-light: #6c9ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7783",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 131
  },
  "hsl": {
    "h": 187.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.08112,
    "h": 208.5
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#1F7783
secondary
#B65548
accent
#5643E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7783

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

Preview Lab → · Contrast checker → · Palette generator →

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