#4077E3#4077E3

#4077E3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.174 H 262.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4077E3
RGBrgb(64, 119, 227)
HSLhsl(220, 74%, 57%)
HSVhsv(220, 72%, 89%)
CMYKcmyk(71.8%, 47.6%, 0%, 11%)
CIE-LABlab(51.64, 18.07, -60.24)
CIE-LCHlch(51.64, 62.89, 286.70°)
OKLaboklab(58.91% -0.0238 -0.1729)
OKLCHoklch(58.91% 0.174 262.2)
XYZxyz(22.5714, 19.8273, 75.2956)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077E3 #E3AC40
analogous
#40C8E3 #4077E3 #5B40E3
triadic
#4077E3 #E34077 #77E340
tetradic
#4077E3 #E340C8 #E3AC40 #40E35B
square
#4077E3 #E340C8 #E3AC40 #40E35B
split-complementary
#4077E3 #E35B40 #C8E340
monochromatic
#164093 #1D57C8 #4077E3 #759DEB #ABC3F3

Accessibility & contrast

On white

4.23
#4077E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4077E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077E3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077E3#FFFFFF#000000##000000
##4077E31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E7
Deuteranopia (green-blind)
#0874E1
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4077e3;
/* rgb */ color: rgb(64, 119, 227);
/* oklch */ color: oklch(58.9% 0.174 262.2);
Tailwind
colors: {
  custom: {
    50: '#889dec',
    500: '#4077e3',
    950: '#000000',
  },
}
SCSS
$custom: #4077e3;
$custom-light: #889dec;
$custom-dark: #000000;
JSON
{
  "hex": "#4077e3",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 227
  },
  "hsl": {
    "h": 219.755,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.17449,
    "h": 262.2
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

primary
#4077E3
secondary
#E1CA9E
accent
#B237F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4077E3

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

Preview Lab → · Contrast checker → · Palette generator →

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