#1F6780#1F6780

#1F6780 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.2% C 0.079 H 225.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#1F6780
RGBrgb(31, 103, 128)
HSLhsl(195, 61%, 31%)
HSVhsv(195, 76%, 50%)
CMYKcmyk(75.8%, 19.5%, 0%, 49.8%)
CIE-LABlab(40.49, -13.01, -20.24)
CIE-LCHlch(40.49, 24.06, 237.27°)
OKLaboklab(48.16% -0.0556 -0.0567)
OKLCHoklch(48.16% 0.079 225.6)
XYZxyz(9.3100, 11.5492, 22.1564)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6780 #80381F
analogous
#1F8068 #1F6780 #1F3680
triadic
#1F6780 #801F67 #67801F
tetradic
#1F6780 #681F80 #80381F #36801F
square
#1F6780 #681F80 #80381F #36801F
split-complementary
#1F6780 #801F36 #80681F
monochromatic
#07181D #133F4F #1F6780 #2B8FB1 #47AED2

Accessibility & contrast

On white

6.34
#1F6780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#1F6780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6780
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6780#FFFFFF#000000##FFFFFF
##1F67801.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596581
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#006E6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6780;
/* rgb */ color: rgb(31, 103, 128);
/* oklch */ color: oklch(48.2% 0.079 225.6);
Tailwind
colors: {
  custom: {
    50: '#6a92a5',
    500: '#1f6780',
    950: '#000000',
  },
}
SCSS
$custom: #1f6780;
$custom-light: #6a92a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6780",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 128
  },
  "hsl": {
    "h": 195.464,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48157,
    "c": 0.0794,
    "h": 225.6
  },
  "luminance": 0.1155
}

Semantic roles & 50–950 ramp

primary
#1F6780
secondary
#B36348
accent
#6D44E4
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D0F
muted
#7A7D7F

Preview Lab

Preview with #1F6780

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

Preview Lab → · Contrast checker → · Palette generator →

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