#4079C4#4079C4

#4079C4 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.131 H 256.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4079C4
RGBrgb(64, 121, 196)
HSLhsl(214, 53%, 51%)
HSVhsv(214, 67%, 77%)
CMYKcmyk(67.3%, 38.3%, 0%, 23.1%)
CIE-LABlab(50.39, 5.73, -44.65)
CIE-LCHlch(50.39, 45.02, 277.31°)
OKLaboklab(57.37% -0.0315 -0.127)
OKLCHoklch(57.37% 0.131 256.1)
XYZxyz(18.9119, 18.7483, 54.8360)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079C4 #C48B40
analogous
#40BBC4 #4079C4 #4940C4
triadic
#4079C4 #C44079 #79C440
tetradic
#4079C4 #C440BB #C48B40 #40C449
square
#4079C4 #C440BB #C48B40 #40C449
split-complementary
#4079C4 #C44940 #BBC440
monochromatic
#204069 #2F5C98 #4079C4 #6F9AD2 #9EBBE1

Accessibility & contrast

On white

4.42
#4079C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4079C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079C4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079C4#FFFFFF#000000##000000
##4079C41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC7
Deuteranopia (green-blind)
#4472C2
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4079c4;
/* rgb */ color: rgb(64, 121, 196);
/* oklch */ color: oklch(57.4% 0.131 256.1);
Tailwind
colors: {
  custom: {
    50: '#839fd6',
    500: '#4079c4',
    950: '#000000',
  },
}
SCSS
$custom: #4079c4;
$custom-light: #839fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4079c4",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 196
  },
  "hsl": {
    "h": 214.091,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.13089,
    "h": 256.1
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#4079C4
secondary
#CDB493
accent
#9E4CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4079C4

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

Preview Lab → · Contrast checker → · Palette generator →

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