#4079E8#4079E8

#4079E8 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.179 H 262.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4079E8
RGBrgb(64, 121, 232)
HSLhsl(220, 79%, 58%)
HSVhsv(220, 72%, 91%)
CMYKcmyk(72.4%, 47.8%, 0%, 9%)
CIE-LABlab(52.50, 18.63, -61.67)
CIE-LCHlch(52.50, 64.42, 286.81°)
OKLaboklab(59.67% -0.0247 -0.177)
OKLCHoklch(59.67% 0.179 262)
XYZxyz(23.5120, 20.5884, 79.0631)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079E8 #E8AF40
analogous
#40CDE8 #4079E8 #5B40E8
triadic
#4079E8 #E84079 #79E840
tetradic
#4079E8 #E840CD #E8AF40 #40E85B
square
#4079E8 #E840CD #E8AF40 #40E85B
split-complementary
#4079E8 #E85B40 #CDE840
monochromatic
#13419B #1958D2 #4079E8 #779FEF #ADC6F5

Accessibility & contrast

On white

4.10
#4079E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4079E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079E8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079E8#FFFFFF#000000##000000
##4079E81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4079e8;
/* rgb */ color: rgb(64, 121, 232);
/* oklch */ color: oklch(59.7% 0.179 262.0);
Tailwind
colors: {
  custom: {
    50: '#899ff0',
    500: '#4079e8',
    950: '#000000',
  },
}
SCSS
$custom: #4079e8;
$custom-light: #899ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#4079e8",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 219.643,
    "s": 78.505,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.17875,
    "h": 262
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#4079E8
secondary
#E3CDA0
accent
#B333F5
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4079E8

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

Preview Lab → · Contrast checker → · Palette generator →

#4079E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva