#4082EF#4082EF

#4082EF is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.178 H 259.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4082EF
RGBrgb(64, 130, 239)
HSLhsl(217, 85%, 59%)
HSVhsv(217, 73%, 94%)
CMYKcmyk(73.2%, 45.6%, 0%, 6.3%)
CIE-LABlab(55.36, 15.60, -60.96)
CIE-LCHlch(55.36, 62.92, 284.35°)
OKLaboklab(62.01% -0.0311 -0.1748)
OKLCHoklch(62.01% 0.178 259.9)
XYZxyz(25.6713, 23.2844, 84.7860)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4082EF #EFAD40
analogous
#40DAEF #4082EF #5540EF
triadic
#4082EF #EF4082 #82EF40
tetradic
#4082EF #EF40DA #EFAD40 #40EF55
square
#4082EF #EF40DA #EFAD40 #40EF55
split-complementary
#4082EF #EF5540 #DAEF40
monochromatic
#0E48A7 #1360DF #4082EF #78A7F4 #B1CCF8

Accessibility & contrast

On white

3.71
#4082EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4082EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4082EF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4082EF#FFFFFF#000000##000000
##4082EF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#207DED
Tritanopia (blue-blind)
#009CAD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4082ef;
/* rgb */ color: rgb(64, 130, 239);
/* oklch */ color: oklch(62.0% 0.178 259.9);
Tailwind
colors: {
  custom: {
    50: '#8aa5f5',
    500: '#4082ef',
    950: '#000000',
  },
}
SCSS
$custom: #4082ef;
$custom-light: #8aa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4082ef",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 217.371,
    "s": 84.541,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62012,
    "c": 0.17753,
    "h": 259.9
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#4082EF
secondary
#E7CEA3
accent
#AD2DFB
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #4082EF

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

Preview Lab → · Contrast checker → · Palette generator →

#4082EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva