#4079DF#4079DF

#4079DF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.167 H 261.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4079DF
RGBrgb(64, 121, 223)
HSLhsl(218, 71%, 56%)
HSVhsv(218, 71%, 87%)
CMYKcmyk(71.3%, 45.7%, 0%, 12.5%)
CIE-LABlab(51.94, 15.39, -57.51)
CIE-LCHlch(51.94, 59.53, 284.98°)
OKLaboklab(59.06% -0.0261 -0.1648)
OKLCHoklch(59.06% 0.167 261)
XYZxyz(22.2662, 20.0901, 72.5020)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079DF #DFA640
analogous
#40C8DF #4079DF #5740DF
triadic
#4079DF #DF4079 #79DF40
tetradic
#4079DF #DF40C8 #DFA640 #40DF57
square
#4079DF #DF40C8 #DFA640 #40DF57
split-complementary
#4079DF #DF5740 #C8DF40
monochromatic
#18428D #205AC1 #4079DF #749EE8 #A9C3F1

Accessibility & contrast

On white

4.18
#4079DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4079DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079DF#FFFFFF#000000##000000
##4079DF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4079df;
/* rgb */ color: rgb(64, 121, 223);
/* oklch */ color: oklch(59.1% 0.167 261.0);
Tailwind
colors: {
  custom: {
    50: '#889fe9',
    500: '#4079df',
    950: '#000000',
  },
}
SCSS
$custom: #4079df;
$custom-light: #889fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4079df",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 218.491,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.16685,
    "h": 261
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#4079DF
secondary
#DEC79D
accent
#AD3AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4079DF

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

Preview Lab → · Contrast checker → · Palette generator →

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