#1F6DA8#1F6DA8

#1F6DA8 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.8% C 0.119 H 246.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F6DA8
RGBrgb(31, 109, 168)
HSLhsl(206, 69%, 39%)
HSVhsv(206, 82%, 66%)
CMYKcmyk(81.5%, 35.1%, 0%, 34.1%)
CIE-LABlab(44.31, -1.69, -38.13)
CIE-LCHlch(44.31, 38.16, 267.46°)
OKLaboklab(51.83% -0.0477 -0.1085)
OKLCHoklch(51.83% 0.119 246.3)
XYZxyz(13.0989, 14.0541, 39.0605)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6DA8 #A85A1F
analogous
#1FA89F #1F6DA8 #1F29A8
triadic
#1F6DA8 #A81F6D #6DA81F
tetradic
#1F6DA8 #9F1FA8 #A85A1F #29A81F
square
#1F6DA8 #9F1FA8 #A85A1F #29A81F
split-complementary
#1F6DA8 #A81F29 #A89F1F
monochromatic
#0C2A41 #154B74 #1F6DA8 #2C8ED8 #60AAE2

Accessibility & contrast

On white

5.51
#1F6DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1F6DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6DA8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6DA8#FFFFFF#000000##FFFFFF
##1F6DA81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5170AA
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#007B82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f6da8;
/* rgb */ color: rgb(31, 109, 168);
/* oklch */ color: oklch(51.8% 0.119 246.3);
Tailwind
colors: {
  custom: {
    50: '#7296c2',
    500: '#1f6da8',
    950: '#000000',
  },
}
SCSS
$custom: #1f6da8;
$custom-light: #7296c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6da8",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 168
  },
  "hsl": {
    "h": 205.839,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.11852,
    "h": 246.3
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#1F6DA8
secondary
#C68A5D
accent
#883CEC
background
#F7F9FB
surface
#EDF1F7
border
#C8CBD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F6DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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