#4079FF#4079FF

#4079FF is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.3% C 0.209 H 263.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4079FF
RGBrgb(64, 121, 255)
HSLhsl(222, 100%, 63%)
HSVhsv(222, 75%, 100%)
CMYKcmyk(74.9%, 52.5%, 0%, 0%)
CIE-LABlab(54.01, 26.91, -72.01)
CIE-LCHlch(54.01, 76.87, 290.49°)
OKLaboklab(61.3% -0.0222 -0.2075)
OKLCHoklch(61.3% 0.209 263.9)
XYZxyz(26.9953, 21.9817, 97.4085)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079FF #FFC640
analogous
#40D9FF #4079FF #6640FF
triadic
#4079FF #FF4079 #79FF40
tetradic
#4079FF #FF40D9 #FFC640 #40FF66
square
#4079FF #FF40D9 #FFC640 #40FF66
split-complementary
#4079FF #FF6640 #D9FF40
monochromatic
#003BC5 #034EFF #4079FF #7DA4FF #BACFFF

Accessibility & contrast

On white

3.89
#4079FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4079FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079FF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079FF#FFFFFF#000000##000000
##4079FF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D8AFF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#009AB0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4079ff;
/* rgb */ color: rgb(64, 121, 255);
/* oklch */ color: oklch(61.3% 0.209 263.9);
Tailwind
colors: {
  custom: {
    50: '#8e9fff',
    500: '#4079ff',
    950: '#000000',
  },
}
SCSS
$custom: #4079ff;
$custom-light: #8e9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#4079ff",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 222.094,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.20865,
    "h": 263.9
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#4079FF
secondary
#F0DBAB
accent
#A100E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E18
muted
#7E7E86

Preview Lab

Preview with #4079FF

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

Preview Lab → · Contrast checker → · Palette generator →

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