#4079D5#4079D5

#4079D5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.154 H 259.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4079D5
RGBrgb(64, 121, 213)
HSLhsl(217, 64%, 54%)
HSVhsv(217, 70%, 84%)
CMYKcmyk(70%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.34, 11.79, -52.82)
CIE-LCHlch(51.34, 54.12, 282.59°)
OKLaboklab(58.41% -0.0278 -0.151)
OKLCHoklch(58.41% 0.154 259.6)
XYZxyz(20.9576, 19.5666, 65.6101)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079D5 #D59C40
analogous
#40C3D5 #4079D5 #5240D5
triadic
#4079D5 #D54079 #79D540
tetradic
#4079D5 #D540C3 #D59C40 #40D552
square
#4079D5 #D540C3 #D59C40 #40D552
split-complementary
#4079D5 #D55240 #C3D540
monochromatic
#1C427F #275CB1 #4079D5 #729CE0 #A4BFEB

Accessibility & contrast

On white

4.27
#4079D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4079D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079D5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079D5#FFFFFF#000000##000000
##4079D51.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4079d5;
/* rgb */ color: rgb(64, 121, 213);
/* oklch */ color: oklch(58.4% 0.154 259.6);
Tailwind
colors: {
  custom: {
    50: '#869fe2',
    500: '#4079d5',
    950: '#000000',
  },
}
SCSS
$custom: #4079d5;
$custom-light: #869fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4079d5",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 217.047,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.15355,
    "h": 259.6
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#4079D5
secondary
#D8C099
accent
#A741E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079D5

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

Preview Lab → · Contrast checker → · Palette generator →

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