#4087FF#4087FF

#4087FF is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.193 H 260.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4087FF
RGBrgb(64, 135, 255)
HSLhsl(218, 100%, 63%)
HSVhsv(218, 75%, 100%)
CMYKcmyk(74.9%, 47.1%, 0%, 0%)
CIE-LABlab(57.69, 18.29, -66.06)
CIE-LCHlch(57.69, 68.55, 285.48°)
OKLaboklab(64.11% -0.0326 -0.1897)
OKLCHoklch(64.11% 0.193 260.2)
XYZxyz(28.8218, 25.6347, 98.0173)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4087FF #FFB840
analogous
#40E7FF #4087FF #5840FF
triadic
#4087FF #FF4087 #87FF40
tetradic
#4087FF #FF40E7 #FFB840 #40FF58
square
#4087FF #FF40E7 #FFB840 #40FF58
split-complementary
#4087FF #FF5840 #E7FF40
monochromatic
#0049C5 #0361FF #4087FF #7DADFF #BAD4FF

Accessibility & contrast

On white

3.43
#4087FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#4087FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4087FF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4087FF#FFFFFF#000000##000000
##4087FF1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#0082FD
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4087ff;
/* rgb */ color: rgb(64, 135, 255);
/* oklch */ color: oklch(64.1% 0.193 260.2);
Tailwind
colors: {
  custom: {
    50: '#8da9ff',
    500: '#4087ff',
    950: '#000000',
  },
}
SCSS
$custom: #4087ff;
$custom-light: #8da9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4087ff",
  "rgb": {
    "r": 64,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 217.696,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.1925,
    "h": 260.2
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#4087FF
secondary
#F0D6AB
accent
#9000E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F18
muted
#7E7F86

Preview Lab

Preview with #4087FF

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

Preview Lab → · Contrast checker → · Palette generator →

#4087FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva