#1F64BD#1F64BD

#1F64BD is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 51.1% C 0.156 H 256.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1F64BD
RGBrgb(31, 100, 189)
HSLhsl(214, 72%, 43%)
HSVhsv(214, 84%, 74%)
CMYKcmyk(83.6%, 47.1%, 0%, 25.9%)
CIE-LABlab(42.88, 12.16, -52.68)
CIE-LCHlch(42.88, 54.07, 283.00°)
OKLaboklab(51.11% -0.0353 -0.1514)
OKLCHoklch(51.11% 0.156 256.9)
XYZxyz(14.3041, 13.0780, 49.9046)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64BD #BD781F
analogous
#1FB3BD #1F64BD #291FBD
triadic
#1F64BD #BD1F64 #64BD1F
tetradic
#1F64BD #BD1FB3 #BD781F #1FBD29
square
#1F64BD #BD1FB3 #BD781F #1FBD29
split-complementary
#1F64BD #BD291F #B3BD1F
monochromatic
#0E2C54 #164888 #1F64BD #3A82DF #6FA4E7

Accessibility & contrast

On white

5.81
#1F64BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#1F64BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F64BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64BD#FFFFFF#000000##FFFFFF
##1F64BD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f64bd;
/* rgb */ color: rgb(31, 100, 189);
/* oklch */ color: oklch(51.1% 0.156 256.9);
Tailwind
colors: {
  custom: {
    50: '#768fd1',
    500: '#1f64bd',
    950: '#000000',
  },
}
SCSS
$custom: #1f64bd;
$custom-light: #768fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64bd",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 213.797,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.15551,
    "h": 256.9
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#1F64BD
secondary
#CEA26A
accent
#9F39EF
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #1F64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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