#4076D1#4076D1

#4076D1 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.5% C 0.152 H 260.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4076D1
RGBrgb(64, 118, 209)
HSLhsl(218, 61%, 54%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(69.4%, 43.5%, 0%, 18%)
CIE-LABlab(50.27, 12.22, -52.26)
CIE-LCHlch(50.27, 53.67, 283.16°)
OKLaboklab(57.51% -0.0258 -0.1494)
OKLCHoklch(57.51% 0.152 260.2)
XYZxyz(20.0973, 18.6482, 62.8495)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076D1 #D19B40
analogous
#40BED1 #4076D1 #5240D1
triadic
#4076D1 #D14076 #76D140
tetradic
#4076D1 #D140BE #D19B40 #40D152
square
#4076D1 #D140BE #D19B40 #40D152
split-complementary
#4076D1 #D15240 #BED140
monochromatic
#1D4079 #2959AB #4076D1 #7199DD #A3BDE9

Accessibility & contrast

On white

4.44
#4076D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4076D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076D1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076D1#FFFFFF#000000##000000
##4076D11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD4
Deuteranopia (green-blind)
#3071CF
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4076d1;
/* rgb */ color: rgb(64, 118, 209);
/* oklch */ color: oklch(57.5% 0.152 260.2);
Tailwind
colors: {
  custom: {
    50: '#859cdf',
    500: '#4076d1',
    950: '#000000',
  },
}
SCSS
$custom: #4076d1;
$custom-light: #859cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4076d1",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 209
  },
  "hsl": {
    "h": 217.655,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.15164,
    "h": 260.2
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#4076D1
secondary
#D5BE97
accent
#A844E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076D1

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

Preview Lab → · Contrast checker → · Palette generator →

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