#064CFD#064CFD

#064CFD is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.266 H 263.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#064CFD
RGBrgb(6, 76, 253)
HSLhsl(223, 98%, 51%)
HSVhsv(223, 98%, 99%)
CMYKcmyk(97.6%, 70%, 0%, 0.8%)
CIE-LABlab(41.68, 50.64, -91.12)
CIE-LCHlch(41.68, 104.25, 299.06°)
OKLaboklab(51.72% -0.03 -0.2645)
OKLCHoklch(51.72% 0.266 263.5)
XYZxyz(20.3829, 12.2967, 94.2086)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064CFD #FDB706
analogous
#06C7FD #064CFD #3B06FD
triadic
#064CFD #FD064C #4CFD06
tetradic
#064CFD #FD06C7 #FDB706 #06FD3B
square
#064CFD #FD06C7 #FDB706 #06FD3B
split-complementary
#064CFD #FD3B06 #C7FD06
monochromatic
#012788 #0239C4 #064CFD #4378FD #7FA3FE

Accessibility & contrast

On white

6.07
#064CFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#064CFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #064CFD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064CFD#FFFFFF#000000##FFFFFF
##064CFD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EFF
Deuteranopia (green-blind)
#0057FA
Tritanopia (blue-blind)
#007F9F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #064cfd;
/* rgb */ color: rgb(6, 76, 253);
/* oklch */ color: oklch(51.7% 0.266 263.5);
Tailwind
colors: {
  custom: {
    50: '#857eff',
    500: '#064cfd',
    950: '#000000',
  },
}
SCSS
$custom: #064cfd;
$custom-light: #857eff;
$custom-dark: #000000;
JSON
{
  "hex": "#064cfd",
  "rgb": {
    "r": 6,
    "g": 76,
    "b": 253
  },
  "hsl": {
    "h": 222.996,
    "s": 98.406,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.26619,
    "h": 263.5
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#064CFD
secondary
#E6C779
accent
#C229FF
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A18
muted
#7E7C86

Preview Lab

Preview with #064CFD

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

Preview Lab → · Contrast checker → · Palette generator →

#064CFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva