#4076DE#4076DE

#4076DE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.4% C 0.169 H 261.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4076DE
RGBrgb(64, 118, 222)
HSLhsl(219, 71%, 56%)
HSVhsv(219, 71%, 87%)
CMYKcmyk(71.2%, 46.8%, 0%, 12.9%)
CIE-LABlab(51.06, 16.89, -58.36)
CIE-LCHlch(51.06, 60.76, 286.14°)
OKLaboklab(58.37% -0.0237 -0.1674)
OKLCHoklch(58.37% 0.169 261.9)
XYZxyz(21.7729, 19.3185, 71.6744)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076DE #DEA840
analogous
#40C5DE #4076DE #5940DE
triadic
#4076DE #DE4076 #76DE40
tetradic
#4076DE #DE40C5 #DEA840 #40DE59
square
#4076DE #DE40C5 #DEA840 #40DE59
split-complementary
#4076DE #DE5940 #C5DE40
monochromatic
#18408B #2157C0 #4076DE #749BE7 #A8C1F0

Accessibility & contrast

On white

4.32
#4076DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4076DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076DE#FFFFFF#000000##000000
##4076DE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E2
Deuteranopia (green-blind)
#1673DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4076de;
/* rgb */ color: rgb(64, 118, 222);
/* oklch */ color: oklch(58.4% 0.169 261.9);
Tailwind
colors: {
  custom: {
    50: '#889ce9',
    500: '#4076de',
    950: '#000000',
  },
}
SCSS
$custom: #4076de;
$custom-light: #889ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4076de",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 219.494,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58368,
    "c": 0.16903,
    "h": 261.9
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#4076DE
secondary
#DEC79C
accent
#B03AED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4076DE

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

Preview Lab → · Contrast checker → · Palette generator →

#4076DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva