#4079ED#4079ED

#4079ED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.185 H 262.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4079ED
RGBrgb(64, 121, 237)
HSLhsl(220, 83%, 59%)
HSVhsv(220, 73%, 93%)
CMYKcmyk(73%, 48.9%, 0%, 7.1%)
CIE-LABlab(52.81, 20.43, -63.95)
CIE-LCHlch(52.81, 67.13, 287.72°)
OKLaboklab(60.02% -0.0241 -0.1837)
OKLCHoklch(60.02% 0.185 262.5)
XYZxyz(24.2323, 20.8765, 82.8568)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079ED #EDB440
analogous
#40D0ED #4079ED #5E40ED
triadic
#4079ED #ED4079 #79ED40
tetradic
#4079ED #ED40D0 #EDB440 #40ED5E
square
#4079ED #ED40D0 #EDB440 #40ED5E
split-complementary
#4079ED #ED5E40 #D0ED40
monochromatic
#0F40A3 #1556DB #4079ED #78A0F2 #B0C7F8

Accessibility & contrast

On white

4.06
#4079ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4079ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079ED#FFFFFF#000000##000000
##4079ED1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F1
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4079ed;
/* rgb */ color: rgb(64, 121, 237);
/* oklch */ color: oklch(60.0% 0.185 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9ff3',
    500: '#4079ed',
    950: '#000000',
  },
}
SCSS
$custom: #4079ed;
$custom-light: #8a9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4079ed",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 220.231,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.18532,
    "h": 262.5
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#4079ED
secondary
#E6D0A2
accent
#B62FF9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4079ED

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

Preview Lab → · Contrast checker → · Palette generator →

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