#4079D3#4079D3

#4079D3 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.151 H 259.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4079D3
RGBrgb(64, 121, 211)
HSLhsl(217, 63%, 54%)
HSVhsv(217, 70%, 83%)
CMYKcmyk(69.7%, 42.7%, 0%, 17.3%)
CIE-LABlab(51.23, 11.08, -51.87)
CIE-LCHlch(51.23, 53.04, 282.05°)
OKLaboklab(58.29% -0.0282 -0.1482)
OKLCHoklch(58.29% 0.151 259.2)
XYZxyz(20.7054, 19.4657, 64.2814)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079D3 #D39A40
analogous
#40C2D3 #4079D3 #5140D3
triadic
#4079D3 #D34079 #79D340
tetradic
#4079D3 #D340C2 #D39A40 #40D351
square
#4079D3 #D340C2 #D39A40 #40D351
split-complementary
#4079D3 #D35140 #C2D340
monochromatic
#1D427C #285CAE #4079D3 #729CDE #A3BFEA

Accessibility & contrast

On white

4.29
#4079D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4079D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079D3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079D3#FFFFFF#000000##000000
##4079D31.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D6
Deuteranopia (green-blind)
#3474D1
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4079d3;
/* rgb */ color: rgb(64, 121, 211);
/* oklch */ color: oklch(58.3% 0.151 259.2);
Tailwind
colors: {
  custom: {
    50: '#859fe1',
    500: '#4079d3',
    950: '#000000',
  },
}
SCSS
$custom: #4079d3;
$custom-light: #859fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4079d3",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 211
  },
  "hsl": {
    "h": 216.735,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.15088,
    "h": 259.2
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#4079D3
secondary
#D7BE98
accent
#A642E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079D3

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

Preview Lab → · Contrast checker → · Palette generator →

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