#4079CC#4079CC

#4079CC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.142 H 257.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4079CC
RGBrgb(64, 121, 204)
HSLhsl(216, 58%, 53%)
HSVhsv(216, 69%, 80%)
CMYKcmyk(68.6%, 40.7%, 0%, 20%)
CIE-LABlab(50.83, 8.57, -48.53)
CIE-LCHlch(50.83, 49.28, 280.02°)
OKLaboklab(57.85% -0.0296 -0.1384)
OKLCHoklch(57.85% 0.142 257.9)
XYZxyz(19.8469, 19.1223, 59.7601)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079CC #CC9340
analogous
#40BFCC #4079CC #4D40CC
triadic
#4079CC #CC4079 #79CC40
tetradic
#4079CC #CC40BF #CC9340 #40CC4D
square
#4079CC #CC40BF #CC9340 #40CC4D
split-complementary
#4079CC #CC4D40 #BFCC40
monochromatic
#1F4173 #2C5CA3 #4079CC #709BD9 #A1BDE6

Accessibility & contrast

On white

4.35
#4079CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4079CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079CC#FFFFFF#000000##000000
##4079CC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4079cc;
/* rgb */ color: rgb(64, 121, 204);
/* oklch */ color: oklch(57.9% 0.142 257.9);
Tailwind
colors: {
  custom: {
    50: '#849fdc',
    500: '#4079cc',
    950: '#000000',
  },
}
SCSS
$custom: #4079cc;
$custom-light: #849fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4079cc",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 215.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.14154,
    "h": 257.9
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#4079CC
secondary
#D2BA95
accent
#A247E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079CC

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

Preview Lab → · Contrast checker → · Palette generator →

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