#1F64A6#1F64A6

#1F64A6 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.6% C 0.125 H 251.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1F64A6
RGBrgb(31, 100, 166)
HSLhsl(209, 69%, 39%)
HSVhsv(209, 81%, 65%)
CMYKcmyk(81.3%, 39.8%, 0%, 34.9%)
CIE-LABlab(41.47, 3.16, -41.46)
CIE-LCHlch(41.47, 41.58, 274.35°)
OKLaboklab(49.56% -0.0402 -0.1184)
OKLCHoklch(49.56% 0.125 251.3)
XYZxyz(12.0026, 12.1574, 37.7830)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64A6 #A6611F
analogous
#1FA6A4 #1F64A6 #1F21A6
triadic
#1F64A6 #A61F64 #64A61F
tetradic
#1F64A6 #A41FA6 #A6611F #21A61F
square
#1F64A6 #A41FA6 #A6611F #21A61F
split-complementary
#1F64A6 #A61F21 #A6A41F
monochromatic
#0C263F #154572 #1F64A6 #2B83D7 #5EA1E1

Accessibility & contrast

On white

6.12
#1F64A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#1F64A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F64A6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64A6#FFFFFF#000000##FFFFFF
##1F64A61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A9
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f64a6;
/* rgb */ color: rgb(31, 100, 166);
/* oklch */ color: oklch(49.6% 0.125 251.3);
Tailwind
colors: {
  custom: {
    50: '#718fc1',
    500: '#1f64a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f64a6;
$custom-light: #718fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64a6",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 166
  },
  "hsl": {
    "h": 209.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.12509,
    "h": 251.3
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#1F64A6
secondary
#C58F5B
accent
#923CEB
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F64A6

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

Preview Lab → · Contrast checker → · Palette generator →

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