#4079D9#4079D9

#4079D9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.159 H 260.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4079D9
RGBrgb(64, 121, 217)
HSLhsl(218, 67%, 55%)
HSVhsv(218, 71%, 85%)
CMYKcmyk(70.5%, 44.2%, 0%, 14.9%)
CIE-LABlab(51.58, 13.23, -54.70)
CIE-LCHlch(51.58, 56.28, 283.60°)
OKLaboklab(58.67% -0.0271 -0.1565)
OKLCHoklch(58.67% 0.159 260.2)
XYZxyz(21.4716, 19.7722, 68.3170)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079D9 #D9A040
analogous
#40C5D9 #4079D9 #5340D9
triadic
#4079D9 #D94079 #79D940
tetradic
#4079D9 #D940C5 #D9A040 #40D953
square
#4079D9 #D940C5 #D9A040 #40D953
split-complementary
#4079D9 #D95340 #C5D940
monochromatic
#1A4284 #245BB7 #4079D9 #739DE3 #A6C1ED

Accessibility & contrast

On white

4.24
#4079D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4079D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079D9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079D9#FFFFFF#000000##000000
##4079D91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DD
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4079d9;
/* rgb */ color: rgb(64, 121, 217);
/* oklch */ color: oklch(58.7% 0.159 260.2);
Tailwind
colors: {
  custom: {
    50: '#869fe5',
    500: '#4079d9',
    950: '#000000',
  },
}
SCSS
$custom: #4079d9;
$custom-light: #869fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4079d9",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 217.647,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.15888,
    "h": 260.2
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#4079D9
secondary
#DAC39A
accent
#AA3EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #4079D9

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

Preview Lab → · Contrast checker → · Palette generator →

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