#1F66A8#1F66A8

#1F66A8 is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.126 H 250.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1F66A8
RGBrgb(31, 102, 168)
HSLhsl(209, 69%, 39%)
HSVhsv(209, 82%, 66%)
CMYKcmyk(81.5%, 39.3%, 0%, 34.1%)
CIE-LABlab(42.18, 2.67, -41.50)
CIE-LCHlch(42.18, 41.59, 273.68°)
OKLaboklab(50.16% -0.0414 -0.1185)
OKLCHoklch(50.16% 0.126 250.7)
XYZxyz(12.3816, 12.6197, 38.8215)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F66A8 #A8611F
analogous
#1FA8A6 #1F66A8 #1F22A8
triadic
#1F66A8 #A81F66 #66A81F
tetradic
#1F66A8 #A61FA8 #A8611F #22A81F
square
#1F66A8 #A61FA8 #A8611F #22A81F
split-complementary
#1F66A8 #A81F22 #A8A61F
monochromatic
#0C2741 #154774 #1F66A8 #2C85D8 #60A3E2

Accessibility & contrast

On white

5.96
#1F66A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1F66A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F66A8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F66A8#FFFFFF#000000##FFFFFF
##1F66A81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAB
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#00767F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f66a8;
/* rgb */ color: rgb(31, 102, 168);
/* oklch */ color: oklch(50.2% 0.126 250.7);
Tailwind
colors: {
  custom: {
    50: '#7191c2',
    500: '#1f66a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f66a8;
$custom-light: #7191c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f66a8",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 208.905,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.12556,
    "h": 250.7
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#1F66A8
secondary
#C68F5D
accent
#913CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F66A8

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

Preview Lab → · Contrast checker → · Palette generator →

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