#4079CF#4079CF

#4079CF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.0% C 0.146 H 258.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4079CF
RGBrgb(64, 121, 207)
HSLhsl(216, 60%, 53%)
HSVhsv(216, 69%, 81%)
CMYKcmyk(69.1%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.00, 9.64, -49.96)
CIE-LCHlch(51.00, 50.89, 280.93°)
OKLaboklab(58.04% -0.029 -0.1426)
OKLCHoklch(58.04% 0.146 258.5)
XYZxyz(20.2101, 19.2676, 61.6733)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079CF #CF9640
analogous
#40C0CF #4079CF #4E40CF
triadic
#4079CF #CF4079 #79CF40
tetradic
#4079CF #CF40C0 #CF9640 #40CF4E
square
#4079CF #CF40C0 #CF9640 #40CF4E
split-complementary
#4079CF #CF4E40 #C0CF40
monochromatic
#1E4177 #2A5CA8 #4079CF #719BDB #A2BEE8

Accessibility & contrast

On white

4.33
#4079CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4079CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079CF#FFFFFF#000000##000000
##4079CF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D2
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4079cf;
/* rgb */ color: rgb(64, 121, 207);
/* oklch */ color: oklch(58.0% 0.146 258.5);
Tailwind
colors: {
  custom: {
    50: '#859fde',
    500: '#4079cf',
    950: '#000000',
  },
}
SCSS
$custom: #4079cf;
$custom-light: #859fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4079cf",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 216.084,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.14554,
    "h": 258.5
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#4079CF
secondary
#D4BC97
accent
#A445E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079CF

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

Preview Lab → · Contrast checker → · Palette generator →

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