#4076E1#4076E1

#4076E1 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.6% C 0.173 H 262.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4076E1
RGBrgb(64, 118, 225)
HSLhsl(220, 73%, 57%)
HSVhsv(220, 72%, 88%)
CMYKcmyk(71.6%, 47.6%, 0%, 11.8%)
CIE-LABlab(51.24, 17.97, -59.75)
CIE-LCHlch(51.24, 62.40, 286.74°)
OKLaboklab(58.57% -0.0232 -0.1714)
OKLCHoklch(58.57% 0.173 262.3)
XYZxyz(22.1785, 19.4807, 73.8109)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076E1 #E1AB40
analogous
#40C7E1 #4076E1 #5B40E1
triadic
#4076E1 #E14076 #76E140
tetradic
#4076E1 #E140C7 #E1AB40 #40E15B
square
#4076E1 #E140C7 #E1AB40 #40E15B
split-complementary
#4076E1 #E15B40 #C7E140
monochromatic
#173F90 #1F57C5 #4076E1 #759CE9 #AAC2F2

Accessibility & contrast

On white

4.29
#4076E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4076E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076E1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076E1#FFFFFF#000000##000000
##4076E11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B82E5
Deuteranopia (green-blind)
#0A73DF
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4076e1;
/* rgb */ color: rgb(64, 118, 225);
/* oklch */ color: oklch(58.6% 0.173 262.3);
Tailwind
colors: {
  custom: {
    50: '#889ceb',
    500: '#4076e1',
    950: '#000000',
  },
}
SCSS
$custom: #4076e1;
$custom-light: #889ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4076e1",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 219.876,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.17302,
    "h": 262.3
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#4076E1
secondary
#DFC99D
accent
#B238F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4076E1

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

Preview Lab → · Contrast checker → · Palette generator →

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