#4079D6#4079D6

#4079D6 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.155 H 259.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4079D6
RGBrgb(64, 121, 214)
HSLhsl(217, 65%, 55%)
HSVhsv(217, 70%, 84%)
CMYKcmyk(70.1%, 43.5%, 0%, 16.1%)
CIE-LABlab(51.40, 12.15, -53.29)
CIE-LCHlch(51.40, 54.66, 282.85°)
OKLaboklab(58.48% -0.0277 -0.1524)
OKLCHoklch(58.48% 0.155 259.7)
XYZxyz(21.0850, 19.6176, 66.2806)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079D6 #D69D40
analogous
#40C4D6 #4079D6 #5240D6
triadic
#4079D6 #D64079 #79D640
tetradic
#4079D6 #D640C4 #D69D40 #40D652
square
#4079D6 #D640C4 #D69D40 #40D652
split-complementary
#4079D6 #D65240 #C4D640
monochromatic
#1B4280 #265CB2 #4079D6 #729CE1 #A5C0EC

Accessibility & contrast

On white

4.26
#4079D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4079D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079D6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079D6#FFFFFF#000000##000000
##4079D61.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DA
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4079d6;
/* rgb */ color: rgb(64, 121, 214);
/* oklch */ color: oklch(58.5% 0.155 259.7);
Tailwind
colors: {
  custom: {
    50: '#869fe3',
    500: '#4079d6',
    950: '#000000',
  },
}
SCSS
$custom: #4079d6;
$custom-light: #869fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#4079d6",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 217.2,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58478,
    "c": 0.15489,
    "h": 259.7
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#4079D6
secondary
#D9C199
accent
#A840E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #4079D6

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

Preview Lab → · Contrast checker → · Palette generator →

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