#4077BC#4077BC

#4077BC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.122 H 255.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4077BC
RGBrgb(64, 119, 188)
HSLhsl(213, 49%, 49%)
HSVhsv(213, 66%, 74%)
CMYKcmyk(66%, 36.7%, 0%, 26.3%)
CIE-LABlab(49.39, 4.13, -41.65)
CIE-LCHlch(49.39, 41.85, 275.66°)
OKLaboklab(56.45% -0.0314 -0.1183)
OKLCHoklch(56.45% 0.122 255.1)
XYZxyz(17.7850, 17.9127, 50.0874)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077BC #BC8540
analogous
#40B5BC #4077BC #4740BC
triadic
#4077BC #BC4077 #77BC40
tetradic
#4077BC #BC40B5 #BC8540 #40BC47
square
#4077BC #BC40B5 #BC8540 #40BC47
split-complementary
#4077BC #BC4740 #B5BC40
monochromatic
#213D61 #305A8E #4077BC #6C97CD #9AB7DD

Accessibility & contrast

On white

4.58
#4077BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4077BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077BC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077BC#FFFFFF#000000##000000
##4077BC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4077bc;
/* rgb */ color: rgb(64, 119, 188);
/* oklch */ color: oklch(56.4% 0.122 255.1);
Tailwind
colors: {
  custom: {
    50: '#819dd0',
    500: '#4077bc',
    950: '#000000',
  },
}
SCSS
$custom: #4077bc;
$custom-light: #819dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4077bc",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 213.387,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.12238,
    "h": 255.1
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#4077BC
secondary
#C9AF8F
accent
#9C4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4077BC

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

Preview Lab → · Contrast checker → · Palette generator →

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