#1F64B3#1F64B3

#1F64B3 is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.142 H 254.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#1F64B3
RGBrgb(31, 100, 179)
HSLhsl(212, 70%, 41%)
HSVhsv(212, 83%, 70%)
CMYKcmyk(82.7%, 44.1%, 0%, 29.8%)
CIE-LABlab(42.24, 8.24, -47.87)
CIE-LCHlch(42.24, 48.57, 279.77°)
OKLaboklab(50.42% -0.0372 -0.1373)
OKLCHoklch(50.42% 0.142 254.8)
XYZxyz(13.2559, 12.6587, 44.3838)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F64B3 #B36E1F
analogous
#1FAEB3 #1F64B3 #241FB3
triadic
#1F64B3 #B31F64 #64B31F
tetradic
#1F64B3 #B31FAE #B36E1F #1FB324
square
#1F64B3 #B31FAE #B36E1F #1FB324
split-complementary
#1F64B3 #B3241F #AEB31F
monochromatic
#0D2A4B #16477F #1F64B3 #3382DC #68A2E5

Accessibility & contrast

On white

5.95
#1F64B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1F64B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F64B3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F64B3#FFFFFF#000000##FFFFFF
##1F64B31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#1D5EB1
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f64b3;
/* rgb */ color: rgb(31, 100, 179);
/* oklch */ color: oklch(50.4% 0.142 254.8);
Tailwind
colors: {
  custom: {
    50: '#748fca',
    500: '#1f64b3',
    950: '#000000',
  },
}
SCSS
$custom: #1f64b3;
$custom-light: #748fca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f64b3",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 179
  },
  "hsl": {
    "h": 212.027,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.14224,
    "h": 254.8
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#1F64B3
secondary
#CA9A64
accent
#9A3BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #1F64B3

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

Preview Lab → · Contrast checker → · Palette generator →

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