#1F64A8#1F64A8

#1F64A8 is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.7% C 0.128 H 251.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#1F64A8
RGBrgb(31, 100, 168)
HSLhsl(210, 69%, 39%)
HSVhsv(210, 82%, 66%)
CMYKcmyk(81.5%, 40.5%, 0%, 34.1%)
CIE-LABlab(41.58, 3.94, -42.46)
CIE-LCHlch(41.58, 42.64, 275.30°)
OKLaboklab(49.68% -0.0397 -0.1214)
OKLCHoklch(49.68% 0.128 251.9)
XYZxyz(12.1875, 12.2313, 38.7567)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64A8 #A8631F
analogous
#1FA8A8 #1F64A8 #1F20A8
triadic
#1F64A8 #A81F64 #64A81F
tetradic
#1F64A8 #A81FA8 #A8631F #20A81F
square
#1F64A8 #A81FA8 #A8631F #20A81F
split-complementary
#1F64A8 #A81F20 #A8A81F
monochromatic
#0C2641 #154574 #1F64A8 #2C83D8 #60A1E2

Accessibility & contrast

On white

6.09
#1F64A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F64A8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64A8#FFFFFF#000000##FFFFFF
##1F64A81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#2C5CA7
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f64a8;
/* rgb */ color: rgb(31, 100, 168);
/* oklch */ color: oklch(49.7% 0.128 251.9);
Tailwind
colors: {
  custom: {
    50: '#718fc2',
    500: '#1f64a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f64a8;
$custom-light: #718fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64a8",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 168
  },
  "hsl": {
    "h": 209.781,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.12771,
    "h": 251.9
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#1F64A8
secondary
#C6915D
accent
#933CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F64A8

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

Preview Lab → · Contrast checker → · Palette generator →

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