#4079B2#4079B2

#4079B2 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.107 H 250.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4079B2
RGBrgb(64, 121, 178)
HSLhsl(210, 47%, 47%)
HSVhsv(210, 64%, 70%)
CMYKcmyk(64%, 32%, 0%, 30.2%)
CIE-LABlab(49.47, -0.56, -35.75)
CIE-LCHlch(49.47, 35.76, 269.10°)
OKLaboklab(56.34% -0.0362 -0.101)
OKLCHoklch(56.34% 0.107 250.3)
XYZxyz(16.9847, 17.9774, 44.6857)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079B2 #B27940
analogous
#40B2B2 #4079B2 #4040B2
triadic
#4079B2 #B24079 #79B240
tetradic
#4079B2 #B240B2 #B27940 #40B240
square
#4079B2 #B240B2 #B27940 #40B240
split-complementary
#4079B2 #B24040 #B2B240
monochromatic
#203C58 #305A85 #4079B2 #6798C8 #94B6D8

Accessibility & contrast

On white

4.57
#4079B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4079B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079B2#FFFFFF#000000##000000
##4079B21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB4
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4079b2;
/* rgb */ color: rgb(64, 121, 178);
/* oklch */ color: oklch(56.3% 0.107 250.3);
Tailwind
colors: {
  custom: {
    50: '#809fc9',
    500: '#4079b2',
    950: '#000000',
  },
}
SCSS
$custom: #4079b2;
$custom-light: #809fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4079b2",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 210,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.10735,
    "h": 250.3
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#4079B2
secondary
#C4A78A
accent
#9451D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4079B2

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

Preview Lab → · Contrast checker → · Palette generator →

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