#4077E1#4077E1

#4077E1 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.172 H 261.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4077E1
RGBrgb(64, 119, 225)
HSLhsl(220, 73%, 57%)
HSVhsv(220, 72%, 88%)
CMYKcmyk(71.6%, 47.1%, 0%, 11.8%)
CIE-LABlab(51.52, 17.35, -59.32)
CIE-LCHlch(51.52, 61.80, 286.31°)
OKLaboklab(58.78% -0.0241 -0.1701)
OKLCHoklch(58.78% 0.172 261.9)
XYZxyz(22.2969, 19.7175, 73.8503)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077E1 #E1AA40
analogous
#40C8E1 #4077E1 #5A40E1
triadic
#4077E1 #E14077 #77E140
tetradic
#4077E1 #E140C8 #E1AA40 #40E15A
square
#4077E1 #E140C8 #E1AA40 #40E15A
split-complementary
#4077E1 #E15A40 #C8E140
monochromatic
#174090 #1F58C5 #4077E1 #759DE9 #AAC2F2

Accessibility & contrast

On white

4.25
#4077E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4077E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077E1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077E1#FFFFFF#000000##000000
##4077E11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E5
Deuteranopia (green-blind)
#1274DF
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4077e1;
/* rgb */ color: rgb(64, 119, 225);
/* oklch */ color: oklch(58.8% 0.172 261.9);
Tailwind
colors: {
  custom: {
    50: '#889deb',
    500: '#4077e1',
    950: '#000000',
  },
}
SCSS
$custom: #4077e1;
$custom-light: #889deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4077e1",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 225
  },
  "hsl": {
    "h": 219.503,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.17185,
    "h": 261.9
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4077E1

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

Preview Lab → · Contrast checker → · Palette generator →

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