#1F7883#1F7883

#1F7883 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.081 H 207.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F7883
RGBrgb(31, 120, 131)
HSLhsl(187, 62%, 32%)
HSVhsv(187, 76%, 51%)
CMYKcmyk(76.3%, 8.4%, 0%, 48.6%)
CIE-LABlab(46.13, -21.37, -13.42)
CIE-LCHlch(46.13, 25.24, 212.13°)
OKLaboklab(52.73% -0.0723 -0.0373)
OKLCHoklch(52.73% 0.081 207.3)
XYZxyz(11.3765, 15.3616, 23.8338)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7883 #832A1F
analogous
#1F835C #1F7883 #1F4683
triadic
#1F7883 #831F78 #78831F
tetradic
#1F7883 #5C1F83 #832A1F #46831F
square
#1F7883 #5C1F83 #832A1F #46831F
split-complementary
#1F7883 #831F46 #835C1F
monochromatic
#081D20 #134B52 #1F7883 #2BA5B4 #49C5D4

Accessibility & contrast

On white

5.16
#1F7883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1F7883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7883
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7883#FFFFFF#000000##FFFFFF
##1F78831.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7384
Deuteranopia (green-blind)
#5F6983
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7883;
/* rgb */ color: rgb(31, 120, 131);
/* oklch */ color: oklch(52.7% 0.081 207.3);
Tailwind
colors: {
  custom: {
    50: '#6c9fa7',
    500: '#1f7883',
    950: '#000000',
  },
}
SCSS
$custom: #1f7883;
$custom-light: #6c9fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7883",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 131
  },
  "hsl": {
    "h": 186.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.08141,
    "h": 207.3
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#1F7883
secondary
#B65448
accent
#5543E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7883

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

Preview Lab → · Contrast checker → · Palette generator →

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