#4076E3#4076E3

#4076E3 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.176 H 262.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4076E3
RGBrgb(64, 118, 227)
HSLhsl(220, 74%, 57%)
HSVhsv(220, 72%, 89%)
CMYKcmyk(71.8%, 48%, 0%, 11%)
CIE-LABlab(51.37, 18.70, -60.67)
CIE-LCHlch(51.37, 63.49, 287.13°)
OKLaboklab(58.71% -0.023 -0.1742)
OKLCHoklch(58.71% 0.176 262.5)
XYZxyz(22.4530, 19.5905, 75.2562)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076E3 #E3AD40
analogous
#40C7E3 #4076E3 #5C40E3
triadic
#4076E3 #E34076 #76E340
tetradic
#4076E3 #E340C7 #E3AD40 #40E35C
square
#4076E3 #E340C7 #E3AD40 #40E35C
split-complementary
#4076E3 #E35C40 #C7E340
monochromatic
#163F93 #1D56C8 #4076E3 #759CEB #ABC3F3

Accessibility & contrast

On white

4.27
#4076E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4076E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076E3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076E3#FFFFFF#000000##000000
##4076E31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E7
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4076e3;
/* rgb */ color: rgb(64, 118, 227);
/* oklch */ color: oklch(58.7% 0.176 262.5);
Tailwind
colors: {
  custom: {
    50: '#899cec',
    500: '#4076e3',
    950: '#000000',
  },
}
SCSS
$custom: #4076e3;
$custom-light: #899cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4076e3",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 227
  },
  "hsl": {
    "h": 220.123,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.17567,
    "h": 262.5
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#4076E3
secondary
#E1CB9E
accent
#B337F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4076E3

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

Preview Lab → · Contrast checker → · Palette generator →

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