#1F7583#1F7583

#1F7583 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.9% C 0.081 H 211.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#1F7583
RGBrgb(31, 117, 131)
HSLhsl(188, 62%, 32%)
HSVhsv(188, 76%, 51%)
CMYKcmyk(76.3%, 10.7%, 0%, 48.6%)
CIE-LABlab(45.15, -19.77, -14.90)
CIE-LCHlch(45.15, 24.75, 217.00°)
OKLaboklab(51.94% -0.0692 -0.0415)
OKLCHoklch(51.94% 0.081 211)
XYZxyz(11.0213, 14.6513, 23.7154)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7583 #832D1F
analogous
#1F835F #1F7583 #1F4383
triadic
#1F7583 #831F75 #75831F
tetradic
#1F7583 #5F1F83 #832D1F #43831F
square
#1F7583 #5F1F83 #832D1F #43831F
split-complementary
#1F7583 #831F43 #835F1F
monochromatic
#081D20 #134952 #1F7583 #2BA1B4 #49C0D4

Accessibility & contrast

On white

5.34
#1F7583 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F7583 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7583
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7583#FFFFFF#000000##FFFFFF
##1F75831.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7184
Deuteranopia (green-blind)
#5C6683
Tritanopia (blue-blind)
#007B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7583;
/* rgb */ color: rgb(31, 117, 131);
/* oklch */ color: oklch(51.9% 0.081 211.0);
Tailwind
colors: {
  custom: {
    50: '#6c9da7',
    500: '#1f7583',
    950: '#000000',
  },
}
SCSS
$custom: #1f7583;
$custom-light: #6c9da7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7583",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 131
  },
  "hsl": {
    "h": 188.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.08065,
    "h": 211
  },
  "luminance": 0.14653
}

Semantic roles & 50–950 ramp

primary
#1F7583
secondary
#B65748
accent
#5A43E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7583

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

Preview Lab → · Contrast checker → · Palette generator →

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