#4077B2#4077B2

#4077B2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.109 H 251.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4077B2
RGBrgb(64, 119, 178)
HSLhsl(211, 47%, 47%)
HSVhsv(211, 64%, 70%)
CMYKcmyk(64%, 33.1%, 0%, 30.2%)
CIE-LABlab(48.88, 0.64, -36.68)
CIE-LCHlch(48.88, 36.68, 271.00°)
OKLaboklab(55.88% -0.0341 -0.1038)
OKLCHoklch(55.88% 0.109 251.8)
XYZxyz(16.7441, 17.4964, 44.6056)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077B2 #B27B40
analogous
#40B0B2 #4077B2 #4240B2
triadic
#4077B2 #B24077 #77B240
tetradic
#4077B2 #B240B0 #B27B40 #40B242
square
#4077B2 #B240B0 #B27B40 #40B242
split-complementary
#4077B2 #B24240 #B0B240
monochromatic
#203B58 #305985 #4077B2 #6796C8 #94B5D8

Accessibility & contrast

On white

4.67
#4077B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4077B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4077B2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077B2#FFFFFF#000000##FFFFFF
##4077B21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB5
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4077b2;
/* rgb */ color: rgb(64, 119, 178);
/* oklch */ color: oklch(55.9% 0.109 251.8);
Tailwind
colors: {
  custom: {
    50: '#809dc9',
    500: '#4077b2',
    950: '#000000',
  },
}
SCSS
$custom: #4077b2;
$custom-light: #809dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4077b2",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 211.053,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.10922,
    "h": 251.8
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#4077B2
secondary
#C4A88A
accent
#9651D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4077B2

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

Preview Lab → · Contrast checker → · Palette generator →

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