#1F7882#1F7882

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

Color values

HEX#1F7882
RGBrgb(31, 120, 130)
HSLhsl(186, 61%, 32%)
HSVhsv(186, 76%, 51%)
CMYKcmyk(76.2%, 7.7%, 0%, 49%)
CIE-LABlab(46.09, -21.70, -12.88)
CIE-LCHlch(46.09, 25.24, 210.69°)
OKLaboklab(52.69% -0.0728 -0.0358)
OKLCHoklch(52.69% 0.081 206.2)
XYZxyz(11.3090, 15.3346, 23.4786)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7882 #82291F
analogous
#1F825B #1F7882 #1F4782
triadic
#1F7882 #821F78 #78821F
tetradic
#1F7882 #5B1F82 #82291F #47821F
square
#1F7882 #5B1F82 #82291F #47821F
split-complementary
#1F7882 #821F47 #825B1F
monochromatic
#071D1F #134A51 #1F7882 #2BA6B3 #48C5D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7882#FFFFFF#000000##FFFFFF
##1F78821.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)
#6D7383
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7882;
/* rgb */ color: rgb(31, 120, 130);
/* oklch */ color: oklch(52.7% 0.081 206.2);
Tailwind
colors: {
  custom: {
    50: '#6c9fa6',
    500: '#1f7882',
    950: '#000000',
  },
}
SCSS
$custom: #1f7882;
$custom-light: #6c9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7882",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 186.061,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.08113,
    "h": 206.2
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#1F7882
secondary
#B55348
accent
#5443E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7882

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

Preview Lab → · Contrast checker → · Palette generator →

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