#1F6782#1F6782

#1F6782 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.3% C 0.081 H 227.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#1F6782
RGBrgb(31, 103, 130)
HSLhsl(196, 61%, 32%)
HSVhsv(196, 76%, 51%)
CMYKcmyk(76.2%, 20.8%, 0%, 49%)
CIE-LABlab(40.58, -12.29, -21.32)
CIE-LCHlch(40.58, 24.61, 240.03°)
OKLaboklab(48.26% -0.0548 -0.0598)
OKLCHoklch(48.26% 0.081 227.5)
XYZxyz(9.4429, 11.6024, 22.8566)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6782 #823A1F
analogous
#1F826C #1F6782 #1F3582
triadic
#1F6782 #821F67 #67821F
tetradic
#1F6782 #6C1F82 #823A1F #35821F
square
#1F6782 #6C1F82 #823A1F #35821F
split-complementary
#1F6782 #821F35 #826C1F
monochromatic
#07191F #134051 #1F6782 #2B8EB3 #48ADD3

Accessibility & contrast

On white

6.32
#1F6782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#1F6782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6782
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6782#FFFFFF#000000##FFFFFF
##1F67821.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596583
Deuteranopia (green-blind)
#4B5B82
Tritanopia (blue-blind)
#006F70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6782;
/* rgb */ color: rgb(31, 103, 130);
/* oklch */ color: oklch(48.3% 0.081 227.5);
Tailwind
colors: {
  custom: {
    50: '#6a92a6',
    500: '#1f6782',
    950: '#000000',
  },
}
SCSS
$custom: #1f6782;
$custom-light: #6a92a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6782",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 196.364,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.08108,
    "h": 227.5
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#1F6782
secondary
#B56648
accent
#6F43E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D0F
muted
#7A7D7F

Preview Lab

Preview with #1F6782

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

Preview Lab → · Contrast checker → · Palette generator →

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