#4079C2#4079C2

#4079C2 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.128 H 255.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4079C2
RGBrgb(64, 121, 194)
HSLhsl(214, 52%, 51%)
HSVhsv(214, 67%, 76%)
CMYKcmyk(67%, 37.6%, 0%, 23.9%)
CIE-LABlab(50.28, 5.02, -43.68)
CIE-LCHlch(50.28, 43.97, 276.56°)
OKLaboklab(57.25% -0.0319 -0.1242)
OKLCHoklch(57.25% 0.128 255.6)
XYZxyz(18.6858, 18.6579, 53.6451)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079C2 #C28940
analogous
#40BAC2 #4079C2 #4840C2
triadic
#4079C2 #C24079 #79C240
tetradic
#4079C2 #C240BA #C28940 #40C248
square
#4079C2 #C240BA #C28940 #40C248
split-complementary
#4079C2 #C24840 #BAC240
monochromatic
#213F67 #305C95 #4079C2 #6E9AD1 #9DBAE0

Accessibility & contrast

On white

4.44
#4079C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4079C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079C2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079C2#FFFFFF#000000##000000
##4079C21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4079c2;
/* rgb */ color: rgb(64, 121, 194);
/* oklch */ color: oklch(57.2% 0.128 255.6);
Tailwind
colors: {
  custom: {
    50: '#829fd5',
    500: '#4079c2',
    950: '#000000',
  },
}
SCSS
$custom: #4079c2;
$custom-light: #829fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4079c2",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 213.692,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.12823,
    "h": 255.6
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

primary
#4079C2
secondary
#CCB292
accent
#9D4DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4079C2

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

Preview Lab → · Contrast checker → · Palette generator →

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