#4079C6#4079C6

#4079C6 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.5% C 0.134 H 256.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4079C6
RGBrgb(64, 121, 198)
HSLhsl(214, 54%, 51%)
HSVhsv(214, 68%, 78%)
CMYKcmyk(67.7%, 38.9%, 0%, 22.4%)
CIE-LABlab(50.50, 6.44, -45.63)
CIE-LCHlch(50.50, 46.08, 278.03°)
OKLaboklab(57.49% -0.031 -0.1299)
OKLCHoklch(57.49% 0.134 256.6)
XYZxyz(19.1411, 18.8400, 56.0429)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079C6 #C68D40
analogous
#40BCC6 #4079C6 #4A40C6
triadic
#4079C6 #C64079 #79C640
tetradic
#4079C6 #C640BC #C68D40 #40C64A
square
#4079C6 #C640BC #C68D40 #40C64A
split-complementary
#4079C6 #C64A40 #BCC640
monochromatic
#20406C #2E5C9B #4079C6 #6F9AD4 #9EBBE2

Accessibility & contrast

On white

4.40
#4079C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4079C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079C6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079C6#FFFFFF#000000##000000
##4079C61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC9
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4079c6;
/* rgb */ color: rgb(64, 121, 198);
/* oklch */ color: oklch(57.5% 0.134 256.6);
Tailwind
colors: {
  custom: {
    50: '#839fd8',
    500: '#4079c6',
    950: '#000000',
  },
}
SCSS
$custom: #4079c6;
$custom-light: #839fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4079c6",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 198
  },
  "hsl": {
    "h": 214.478,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.13355,
    "h": 256.6
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#4079C6
secondary
#CEB593
accent
#9F4ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4079C6

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

Preview Lab → · Contrast checker → · Palette generator →

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