#4079C7#4079C7

#4079C7 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.135 H 256.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4079C7
RGBrgb(64, 121, 199)
HSLhsl(215, 55%, 52%)
HSVhsv(215, 68%, 78%)
CMYKcmyk(67.8%, 39.2%, 0%, 22%)
CIE-LABlab(50.55, 6.79, -46.11)
CIE-LCHlch(50.55, 46.61, 278.38°)
OKLaboklab(57.55% -0.0308 -0.1313)
OKLCHoklch(57.55% 0.135 256.8)
XYZxyz(19.2568, 18.8863, 56.6523)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079C7 #C78E40
analogous
#40BCC7 #4079C7 #4B40C7
triadic
#4079C7 #C74079 #79C740
tetradic
#4079C7 #C740BC #C78E40 #40C74B
square
#4079C7 #C740BC #C78E40 #40C74B
split-complementary
#4079C7 #C74B40 #BCC740
monochromatic
#20406D #2E5C9C #4079C7 #6F9AD5 #9FBBE3

Accessibility & contrast

On white

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

On black

4.78
#4079C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079C7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079C7#FFFFFF#000000##000000
##4079C71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#4173C5
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4079c7;
/* rgb */ color: rgb(64, 121, 199);
/* oklch */ color: oklch(57.5% 0.135 256.8);
Tailwind
colors: {
  custom: {
    50: '#839fd8',
    500: '#4079c7',
    950: '#000000',
  },
}
SCSS
$custom: #4079c7;
$custom-light: #839fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4079c7",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 214.667,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.13487,
    "h": 256.8
  },
  "luminance": 0.18888
}

Semantic roles & 50–950 ramp

primary
#4079C7
secondary
#CFB694
accent
#9F4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4079C7

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

Preview Lab → · Contrast checker → · Palette generator →

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