#1F66A6#1F66A6

#1F66A6 is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.0% C 0.123 H 250.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1F66A6
RGBrgb(31, 102, 166)
HSLhsl(208, 69%, 39%)
HSVhsv(208, 81%, 65%)
CMYKcmyk(81.3%, 38.6%, 0%, 34.9%)
CIE-LABlab(42.07, 1.89, -40.50)
CIE-LCHlch(42.07, 40.55, 272.68°)
OKLaboklab(50.03% -0.0419 -0.1156)
OKLCHoklch(50.03% 0.123 250.1)
XYZxyz(12.1968, 12.5457, 37.8477)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F66A6 #A65F1F
analogous
#1FA6A2 #1F66A6 #1F23A6
triadic
#1F66A6 #A61F66 #66A61F
tetradic
#1F66A6 #A21FA6 #A65F1F #23A61F
square
#1F66A6 #A21FA6 #A65F1F #23A61F
split-complementary
#1F66A6 #A61F23 #A6A21F
monochromatic
#0C273F #154672 #1F66A6 #2B86D7 #5EA3E1

Accessibility & contrast

On white

5.98
#1F66A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1F66A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F66A6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F66A6#FFFFFF#000000##FFFFFF
##1F66A61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f66a6;
/* rgb */ color: rgb(31, 102, 166);
/* oklch */ color: oklch(50.0% 0.123 250.1);
Tailwind
colors: {
  custom: {
    50: '#7191c1',
    500: '#1f66a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f66a6;
$custom-light: #7191c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f66a6",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 166
  },
  "hsl": {
    "h": 208.444,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.12297,
    "h": 250.1
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#1F66A6
secondary
#C58E5B
accent
#8F3CEB
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F66A6

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

Preview Lab → · Contrast checker → · Palette generator →

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