#4076D5#4076D5

#4076D5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.157 H 260.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4076D5
RGBrgb(64, 118, 213)
HSLhsl(218, 64%, 54%)
HSVhsv(218, 70%, 84%)
CMYKcmyk(70%, 44.6%, 0%, 16.5%)
CIE-LABlab(50.51, 13.65, -54.15)
CIE-LCHlch(50.51, 55.85, 284.15°)
OKLaboklab(57.77% -0.0251 -0.155)
OKLCHoklch(57.77% 0.157 260.8)
XYZxyz(20.5987, 18.8488, 65.4905)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076D5 #D59F40
analogous
#40C1D5 #4076D5 #5540D5
triadic
#4076D5 #D54076 #76D540
tetradic
#4076D5 #D540C1 #D59F40 #40D555
square
#4076D5 #D540C1 #D59F40 #40D555
split-complementary
#4076D5 #D55540 #C1D540
monochromatic
#1C407F #2759B1 #4076D5 #729AE0 #A4BEEB

Accessibility & contrast

On white

4.40
#4076D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4076D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076D5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076D5#FFFFFF#000000##000000
##4076D51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4780D9
Deuteranopia (green-blind)
#2A72D3
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4076d5;
/* rgb */ color: rgb(64, 118, 213);
/* oklch */ color: oklch(57.8% 0.157 260.8);
Tailwind
colors: {
  custom: {
    50: '#869ce2',
    500: '#4076d5',
    950: '#000000',
  },
}
SCSS
$custom: #4076d5;
$custom-light: #869ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4076d5",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 213
  },
  "hsl": {
    "h": 218.255,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.157,
    "h": 260.8
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#4076D5
secondary
#D8C199
accent
#AB41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076D5

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

Preview Lab → · Contrast checker → · Palette generator →

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