#4079BC#4079BC

#4079BC is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.120 H 253.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4079BC
RGBrgb(64, 121, 188)
HSLhsl(212, 49%, 49%)
HSVhsv(212, 66%, 74%)
CMYKcmyk(66%, 35.6%, 0%, 26.3%)
CIE-LABlab(49.97, 2.91, -40.73)
CIE-LCHlch(49.97, 40.83, 274.09°)
OKLaboklab(56.9% -0.0334 -0.1156)
OKLCHoklch(56.9% 0.12 253.9)
XYZxyz(18.0255, 18.3938, 50.1676)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079BC #BC8340
analogous
#40B7BC #4079BC #4540BC
triadic
#4079BC #BC4079 #79BC40
tetradic
#4079BC #BC40B7 #BC8340 #40BC45
square
#4079BC #BC40B7 #BC8340 #40BC45
split-complementary
#4079BC #BC4540 #B7BC40
monochromatic
#213E61 #305C8E #4079BC #6C99CD #9AB9DD

Accessibility & contrast

On white

4.49
#4079BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4079BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079BC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079BC#FFFFFF#000000##000000
##4079BC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4079bc;
/* rgb */ color: rgb(64, 121, 188);
/* oklch */ color: oklch(56.9% 0.120 253.9);
Tailwind
colors: {
  custom: {
    50: '#819fd0',
    500: '#4079bc',
    950: '#000000',
  },
}
SCSS
$custom: #4079bc;
$custom-light: #819fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4079bc",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 212.419,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.569,
    "c": 0.12031,
    "h": 253.9
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#4079BC
secondary
#C9AE8F
accent
#994FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4079BC

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

Preview Lab → · Contrast checker → · Palette generator →

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