#4079CE#4079CE

#4079CE is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.144 H 258.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4079CE
RGBrgb(64, 121, 206)
HSLhsl(216, 59%, 53%)
HSVhsv(216, 69%, 81%)
CMYKcmyk(68.9%, 41.3%, 0%, 19.2%)
CIE-LABlab(50.94, 9.29, -49.48)
CIE-LCHlch(50.94, 50.35, 280.63°)
OKLaboklab(57.97% -0.0292 -0.1412)
OKLCHoklch(57.97% 0.144 258.3)
XYZxyz(20.0883, 19.2189, 61.0315)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079CE #CE9540
analogous
#40C0CE #4079CE #4E40CE
triadic
#4079CE #CE4079 #79CE40
tetradic
#4079CE #CE40C0 #CE9540 #40CE4E
square
#4079CE #CE40C0 #CE9540 #40CE4E
split-complementary
#4079CE #CE4E40 #C0CE40
monochromatic
#1E4175 #2B5CA6 #4079CE #719BDA #A1BDE7

Accessibility & contrast

On white

4.34
#4079CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4079CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079CE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079CE#FFFFFF#000000##000000
##4079CE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4079ce;
/* rgb */ color: rgb(64, 121, 206);
/* oklch */ color: oklch(58.0% 0.144 258.3);
Tailwind
colors: {
  custom: {
    50: '#849fdd',
    500: '#4079ce',
    950: '#000000',
  },
}
SCSS
$custom: #4079ce;
$custom-light: #849fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4079ce",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 215.915,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.14421,
    "h": 258.3
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#4079CE
secondary
#D4BB96
accent
#A345E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079CE

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

Preview Lab → · Contrast checker → · Palette generator →

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