#4077BB#4077BB

#4077BB is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.121 H 254.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4077BB
RGBrgb(64, 119, 187)
HSLhsl(213, 49%, 49%)
HSVhsv(213, 66%, 73%)
CMYKcmyk(65.8%, 36.4%, 0%, 26.7%)
CIE-LABlab(49.34, 3.78, -41.16)
CIE-LCHlch(49.34, 41.33, 275.25°)
OKLaboklab(56.39% -0.0317 -0.1168)
OKLCHoklch(56.39% 0.121 254.8)
XYZxyz(17.6776, 17.8697, 49.5217)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077BB #BB8440
analogous
#40B5BB #4077BB #4740BB
triadic
#4077BB #BB4077 #77BB40
tetradic
#4077BB #BB40B5 #BB8440 #40BB47
square
#4077BB #BB40B5 #BB8440 #40BB47
split-complementary
#4077BB #BB4740 #B5BB40
monochromatic
#213D60 #305A8D #4077BB #6C97CD #99B7DC

Accessibility & contrast

On white

4.59
#4077BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4077BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4077BB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077BB#FFFFFF#000000##FFFFFF
##4077BB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4077bb;
/* rgb */ color: rgb(64, 119, 187);
/* oklch */ color: oklch(56.4% 0.121 254.8);
Tailwind
colors: {
  custom: {
    50: '#819dd0',
    500: '#4077bb',
    950: '#000000',
  },
}
SCSS
$custom: #4077bb;
$custom-light: #819dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4077bb",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 213.171,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.12105,
    "h": 254.8
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#4077BB
secondary
#C8AE8F
accent
#9B4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4077BB

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

Preview Lab → · Contrast checker → · Palette generator →

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