#1F6FA8#1F6FA8

#1F6FA8 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.3% C 0.117 H 244.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F6FA8
RGBrgb(31, 111, 168)
HSLhsl(205, 69%, 39%)
HSVhsv(205, 82%, 66%)
CMYKcmyk(81.5%, 33.9%, 0%, 34.1%)
CIE-LABlab(44.92, -2.92, -37.16)
CIE-LCHlch(44.92, 37.27, 265.51°)
OKLaboklab(52.31% -0.0495 -0.1056)
OKLCHoklch(52.31% 0.117 244.9)
XYZxyz(13.3146, 14.4857, 39.1325)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6FA8 #A8581F
analogous
#1FA89D #1F6FA8 #1F2AA8
triadic
#1F6FA8 #A81F6F #6FA81F
tetradic
#1F6FA8 #9D1FA8 #A8581F #2AA81F
square
#1F6FA8 #9D1FA8 #A8581F #2AA81F
split-complementary
#1F6FA8 #A81F2A #A89D1F
monochromatic
#0C2B41 #154D74 #1F6FA8 #2C91D8 #60ACE2

Accessibility & contrast

On white

5.39
#1F6FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1F6FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6FA8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6FA8#FFFFFF#000000##FFFFFF
##1F6FA81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#007D84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6fa8;
/* rgb */ color: rgb(31, 111, 168);
/* oklch */ color: oklch(52.3% 0.117 244.9);
Tailwind
colors: {
  custom: {
    50: '#7298c2',
    500: '#1f6fa8',
    950: '#000000',
  },
}
SCSS
$custom: #1f6fa8;
$custom-light: #7298c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6fa8",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 204.964,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.11666,
    "h": 244.9
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#1F6FA8
secondary
#C6895D
accent
#853CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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