#1F6798#1F6798

#1F6798 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.4% C 0.104 H 243.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#1F6798
RGBrgb(31, 103, 152)
HSLhsl(204, 66%, 36%)
HSVhsv(204, 80%, 60%)
CMYKcmyk(79.6%, 32.2%, 0%, 40.4%)
CIE-LABlab(41.62, -4.12, -32.90)
CIE-LCHlch(41.62, 33.16, 262.87°)
OKLaboklab(49.43% -0.0469 -0.0933)
OKLCHoklch(49.43% 0.104 243.3)
XYZxyz(11.0806, 12.2575, 31.4816)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6798 #98501F
analogous
#1F988C #1F6798 #1F2A98
triadic
#1F6798 #981F67 #67981F
tetradic
#1F6798 #8C1F98 #98501F #2A981F
square
#1F6798 #8C1F98 #98501F #2A981F
split-complementary
#1F6798 #981F2A #988C1F
monochromatic
#0A2232 #154565 #1F6798 #2989CB #55A6DC

Accessibility & contrast

On white

6.08
#1F6798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1F6798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6798
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6798#FFFFFF#000000##FFFFFF
##1F67981.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50689A
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f6798;
/* rgb */ color: rgb(31, 103, 152);
/* oklch */ color: oklch(49.4% 0.104 243.3);
Tailwind
colors: {
  custom: {
    50: '#6e92b6',
    500: '#1f6798',
    950: '#000000',
  },
}
SCSS
$custom: #1f6798;
$custom-light: #6e92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6798",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 204.298,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.10447,
    "h": 243.3
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#1F6798
secondary
#C07F53
accent
#843FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6798

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

Preview Lab → · Contrast checker → · Palette generator →

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