#4076CE#4076CE

#4076CE is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.3% C 0.148 H 259.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4076CE
RGBrgb(64, 118, 206)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 69%, 81%)
CMYKcmyk(68.9%, 42.7%, 0%, 19.2%)
CIE-LABlab(50.10, 11.14, -50.83)
CIE-LCHlch(50.10, 52.04, 282.36°)
OKLaboklab(57.32% -0.0264 -0.1452)
OKLCHoklch(57.32% 0.148 259.7)
XYZxyz(19.7294, 18.5011, 60.9118)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076CE #CE9840
analogous
#40BDCE #4076CE #5140CE
triadic
#4076CE #CE4076 #76CE40
tetradic
#4076CE #CE40BD #CE9840 #40CE51
square
#4076CE #CE40BD #CE9840 #40CE51
split-complementary
#4076CE #CE5140 #BDCE40
monochromatic
#1E3F75 #2B5AA6 #4076CE #7199DA #A1BCE7

Accessibility & contrast

On white

4.47
#4076CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4076CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076CE#FFFFFF#000000##000000
##4076CE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4076ce;
/* rgb */ color: rgb(64, 118, 206);
/* oklch */ color: oklch(57.3% 0.148 259.7);
Tailwind
colors: {
  custom: {
    50: '#859ddd',
    500: '#4076ce',
    950: '#000000',
  },
}
SCSS
$custom: #4076ce;
$custom-light: #859ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4076ce",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 217.183,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.1476,
    "h": 259.7
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#4076CE
secondary
#D4BC96
accent
#A745E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076CE

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

Preview Lab → · Contrast checker → · Palette generator →

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