#1F6FA6#1F6FA6

#1F6FA6 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.2% C 0.114 H 244.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#1F6FA6
RGBrgb(31, 111, 166)
HSLhsl(204, 69%, 39%)
HSVhsv(204, 81%, 65%)
CMYKcmyk(81.3%, 33.1%, 0%, 34.9%)
CIE-LABlab(44.82, -3.68, -36.15)
CIE-LCHlch(44.82, 36.34, 264.19°)
OKLaboklab(52.19% -0.0501 -0.1027)
OKLCHoklch(52.19% 0.114 244)
XYZxyz(13.1298, 14.4117, 38.1587)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6FA6 #A6561F
analogous
#1FA699 #1F6FA6 #1F2CA6
triadic
#1F6FA6 #A61F6F #6FA61F
tetradic
#1F6FA6 #991FA6 #A6561F #2CA61F
square
#1F6FA6 #991FA6 #A6561F #2CA61F
split-complementary
#1F6FA6 #A61F2C #A6991F
monochromatic
#0C2A3F #154D72 #1F6FA6 #2B91D7 #5EACE1

Accessibility & contrast

On white

5.41
#1F6FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#1F6FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6FA6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6FA6#FFFFFF#000000##FFFFFF
##1F6FA61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A8
Deuteranopia (green-blind)
#4265A5
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f6fa6;
/* rgb */ color: rgb(31, 111, 166);
/* oklch */ color: oklch(52.2% 0.114 244.0);
Tailwind
colors: {
  custom: {
    50: '#7198c0',
    500: '#1f6fa6',
    950: '#000000',
  },
}
SCSS
$custom: #1f6fa6;
$custom-light: #7198c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6fa6",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 204.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.11426,
    "h": 244
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#1F6FA6
secondary
#C5875B
accent
#843CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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