#1F64A9#1F64A9

#1F64A9 is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 49.7% C 0.129 H 252.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#1F64A9
RGBrgb(31, 100, 169)
HSLhsl(210, 69%, 39%)
HSVhsv(210, 82%, 66%)
CMYKcmyk(81.7%, 40.8%, 0%, 33.7%)
CIE-LABlab(41.64, 4.33, -42.96)
CIE-LCHlch(41.64, 43.18, 275.75°)
OKLaboklab(49.75% -0.0395 -0.1228)
OKLCHoklch(49.75% 0.129 252.2)
XYZxyz(12.2810, 12.2687, 39.2493)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64A9 #A9641F
analogous
#1FA9A9 #1F64A9 #1F1FA9
triadic
#1F64A9 #A91F64 #64A91F
tetradic
#1F64A9 #A91FA9 #A9641F #1FA91F
square
#1F64A9 #A91FA9 #A9641F #1FA91F
split-complementary
#1F64A9 #A91F1F #A9A91F
monochromatic
#0C2742 #164575 #1F64A9 #2D83D8 #60A1E2

Accessibility & contrast

On white

6.08
#1F64A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1F64A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F64A9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64A9#FFFFFF#000000##FFFFFF
##1F64A91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AC
Deuteranopia (green-blind)
#2B5DA8
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f64a9;
/* rgb */ color: rgb(31, 100, 169);
/* oklch */ color: oklch(49.7% 0.129 252.2);
Tailwind
colors: {
  custom: {
    50: '#728fc3',
    500: '#1f64a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f64a9;
$custom-light: #728fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64a9",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 169
  },
  "hsl": {
    "h": 210,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49749,
    "c": 0.12902,
    "h": 252.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#1F64A9
secondary
#C7925D
accent
#943CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F64A9

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

Preview Lab → · Contrast checker → · Palette generator →

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