#1F66AA#1F66AA

#1F66AA is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.3% C 0.128 H 251.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#1F66AA
RGBrgb(31, 102, 170)
HSLhsl(209, 69%, 39%)
HSVhsv(209, 82%, 67%)
CMYKcmyk(81.8%, 40%, 0%, 33.3%)
CIE-LABlab(42.30, 3.45, -42.50)
CIE-LCHlch(42.30, 42.64, 274.64°)
OKLaboklab(50.28% -0.0409 -0.1214)
OKLCHoklch(50.28% 0.128 251.4)
XYZxyz(12.5694, 12.6948, 39.8103)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F66AA #AA631F
analogous
#1FAAA9 #1F66AA #1F20AA
triadic
#1F66AA #AA1F66 #66AA1F
tetradic
#1F66AA #A91FAA #AA631F #20AA1F
square
#1F66AA #A91FAA #AA631F #20AA1F
split-complementary
#1F66AA #AA1F20 #AAA91F
monochromatic
#0C2842 #164776 #1F66AA #2D85D9 #61A3E2

Accessibility & contrast

On white

5.93
#1F66AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1F66AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F66AA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F66AA#FFFFFF#000000##FFFFFF
##1F66AA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f66aa;
/* rgb */ color: rgb(31, 102, 170);
/* oklch */ color: oklch(50.3% 0.128 251.4);
Tailwind
colors: {
  custom: {
    50: '#7291c4',
    500: '#1f66aa',
    950: '#000000',
  },
}
SCSS
$custom: #1f66aa;
$custom-light: #7291c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f66aa",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 209.353,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.12816,
    "h": 251.4
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#1F66AA
secondary
#C7915E
accent
#923CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F66AA

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

Preview Lab → · Contrast checker → · Palette generator →

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