#1F6878#1F6878

#1F6878 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.0% C 0.074 H 215.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#1F6878
RGBrgb(31, 104, 120)
HSLhsl(191, 59%, 30%)
HSVhsv(191, 74%, 47%)
CMYKcmyk(74.2%, 13.3%, 0%, 52.9%)
CIE-LABlab(40.49, -16.39, -15.39)
CIE-LCHlch(40.49, 22.49, 223.19°)
OKLaboklab(48.05% -0.06 -0.0429)
OKLCHoklch(48.05% 0.074 215.6)
XYZxyz(8.9041, 11.5470, 19.5252)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6878 #782F1F
analogous
#1F785C #1F6878 #1F3B78
triadic
#1F6878 #781F68 #68781F
tetradic
#1F6878 #5C1F78 #782F1F #3B781F
square
#1F6878 #5C1F78 #782F1F #3B781F
split-complementary
#1F6878 #781F3B #785C1F
monochromatic
#061518 #123E47 #1F6878 #2C92A9 #43B5CE

Accessibility & contrast

On white

6.35
#1F6878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6878
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6878#FFFFFF#000000##FFFFFF
##1F68781.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6878;
/* rgb */ color: rgb(31, 104, 120);
/* oklch */ color: oklch(48.0% 0.074 215.6);
Tailwind
colors: {
  custom: {
    50: '#69939f',
    500: '#1f6878',
    950: '#000000',
  },
}
SCSS
$custom: #1f6878;
$custom-light: #69939f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6878",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 120
  },
  "hsl": {
    "h": 190.787,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.07378,
    "h": 215.6
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#1F6878
secondary
#AB5947
accent
#6246E2
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #1F6878

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

Preview Lab → · Contrast checker → · Palette generator →

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