#4079D1#4079D1

#4079D1 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.148 H 258.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4079D1
RGBrgb(64, 121, 209)
HSLhsl(216, 61%, 54%)
HSVhsv(216, 69%, 82%)
CMYKcmyk(69.4%, 42.1%, 0%, 18%)
CIE-LABlab(51.11, 10.36, -50.92)
CIE-LCHlch(51.11, 51.96, 281.50°)
OKLaboklab(58.16% -0.0286 -0.1454)
OKLCHoklch(58.16% 0.148 258.9)
XYZxyz(20.4562, 19.3660, 62.9692)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079D1 #D19840
analogous
#40C1D1 #4079D1 #4F40D1
triadic
#4079D1 #D14079 #79D140
tetradic
#4079D1 #D140C1 #D19840 #40D14F
square
#4079D1 #D140C1 #D19840 #40D14F
split-complementary
#4079D1 #D14F40 #C1D140
monochromatic
#1D4179 #295CAB #4079D1 #719CDD #A3BEE9

Accessibility & contrast

On white

4.31
#4079D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4079D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079D1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079D1#FFFFFF#000000##000000
##4079D11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D4
Deuteranopia (green-blind)
#3774CF
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4079d1;
/* rgb */ color: rgb(64, 121, 209);
/* oklch */ color: oklch(58.2% 0.148 258.9);
Tailwind
colors: {
  custom: {
    50: '#859fdf',
    500: '#4079d1',
    950: '#000000',
  },
}
SCSS
$custom: #4079d1;
$custom-light: #859fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#4079d1",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 209
  },
  "hsl": {
    "h": 216.414,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5816,
    "c": 0.14822,
    "h": 258.9
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#4079D1
secondary
#D5BD97
accent
#A544E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079D1

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

Preview Lab → · Contrast checker → · Palette generator →

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