#1F6882#1F6882

#1F6882 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.5% C 0.081 H 226.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#1F6882
RGBrgb(31, 104, 130)
HSLhsl(196, 61%, 32%)
HSVhsv(196, 76%, 51%)
CMYKcmyk(76.2%, 20%, 0%, 49%)
CIE-LABlab(40.90, -12.87, -20.82)
CIE-LCHlch(40.90, 24.47, 238.27°)
OKLaboklab(48.51% -0.0558 -0.0583)
OKLCHoklch(48.51% 0.081 226.3)
XYZxyz(9.5430, 11.8025, 22.8899)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6882 #82391F
analogous
#1F826B #1F6882 #1F3682
triadic
#1F6882 #821F68 #68821F
tetradic
#1F6882 #6B1F82 #82391F #36821F
square
#1F6882 #6B1F82 #82391F #36821F
split-complementary
#1F6882 #821F36 #826B1F
monochromatic
#07191F #134051 #1F6882 #2B90B3 #48AFD3

Accessibility & contrast

On white

6.25
#1F6882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#1F6882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6882
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6882#FFFFFF#000000##FFFFFF
##1F68821.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#4D5C82
Tritanopia (blue-blind)
#007071
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6882;
/* rgb */ color: rgb(31, 104, 130);
/* oklch */ color: oklch(48.5% 0.081 226.3);
Tailwind
colors: {
  custom: {
    50: '#6a93a6',
    500: '#1f6882',
    950: '#000000',
  },
}
SCSS
$custom: #1f6882;
$custom-light: #6a93a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6882",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 130
  },
  "hsl": {
    "h": 195.758,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.48514,
    "c": 0.08076,
    "h": 226.3
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#1F6882
secondary
#B56548
accent
#6E43E5
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #1F6882

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

Preview Lab → · Contrast checker → · Palette generator →

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