#1F6897#1F6897

#1F6897 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.6% C 0.102 H 241.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1F6897
RGBrgb(31, 104, 151)
HSLhsl(204, 66%, 36%)
HSVhsv(204, 79%, 59%)
CMYKcmyk(79.5%, 31.1%, 0%, 40.8%)
CIE-LABlab(41.88, -5.11, -31.89)
CIE-LCHlch(41.88, 32.30, 260.90°)
OKLaboklab(49.62% -0.0482 -0.0904)
OKLCHoklch(49.62% 0.102 241.9)
XYZxyz(11.0991, 12.4250, 31.0854)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6897 #974E1F
analogous
#1F978A #1F6897 #1F2C97
triadic
#1F6897 #971F68 #68971F
tetradic
#1F6897 #8A1F97 #974E1F #2C971F
square
#1F6897 #8A1F97 #974E1F #2C971F
split-complementary
#1F6897 #971F2C #978A1F
monochromatic
#0A2231 #154564 #1F6897 #298BCA #54A7DC

Accessibility & contrast

On white

6.03
#1F6897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#1F6897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6897
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6897#FFFFFF#000000##FFFFFF
##1F68971.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f6897;
/* rgb */ color: rgb(31, 104, 151);
/* oklch */ color: oklch(49.6% 0.102 241.9);
Tailwind
colors: {
  custom: {
    50: '#6e92b6',
    500: '#1f6897',
    950: '#000000',
  },
}
SCSS
$custom: #1f6897;
$custom-light: #6e92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6897",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 203.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.10244,
    "h": 241.9
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#1F6897
secondary
#BF7D52
accent
#813FE9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #1F6897

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

Preview Lab → · Contrast checker → · Palette generator →

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