#4077B8#4077B8

#4077B8 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.2% C 0.117 H 253.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4077B8
RGBrgb(64, 119, 184)
HSLhsl(213, 48%, 49%)
HSVhsv(213, 65%, 72%)
CMYKcmyk(65.2%, 35.3%, 0%, 27.8%)
CIE-LABlab(49.18, 2.73, -39.67)
CIE-LCHlch(49.18, 39.76, 273.93°)
OKLaboklab(56.22% -0.0324 -0.1125)
OKLCHoklch(56.22% 0.117 253.9)
XYZxyz(17.3598, 17.7426, 47.8479)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077B8 #B88140
analogous
#40B3B8 #4077B8 #4540B8
triadic
#4077B8 #B84077 #77B840
tetradic
#4077B8 #B840B3 #B88140 #40B845
square
#4077B8 #B840B3 #B88140 #40B845
split-complementary
#4077B8 #B84540 #B3B840
monochromatic
#203C5D #305A8B #4077B8 #6A97CB #97B6DB

Accessibility & contrast

On white

4.62
#4077B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4077B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4077B8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077B8#FFFFFF#000000##FFFFFF
##4077B81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4077b8;
/* rgb */ color: rgb(64, 119, 184);
/* oklch */ color: oklch(56.2% 0.117 253.9);
Tailwind
colors: {
  custom: {
    50: '#819dcd',
    500: '#4077b8',
    950: '#000000',
  },
}
SCSS
$custom: #4077b8;
$custom-light: #819dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4077b8",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 184
  },
  "hsl": {
    "h": 212.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.11708,
    "h": 253.9
  },
  "luminance": 0.17744
}

Semantic roles & 50–950 ramp

primary
#4077B8
secondary
#C7AC8D
accent
#9A50D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4077B8

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

Preview Lab → · Contrast checker → · Palette generator →

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