#4077B9#4077B9

#4077B9 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.3% C 0.118 H 254.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4077B9
RGBrgb(64, 119, 185)
HSLhsl(213, 49%, 49%)
HSVhsv(213, 65%, 73%)
CMYKcmyk(65.4%, 35.7%, 0%, 27.5%)
CIE-LABlab(49.23, 3.08, -40.17)
CIE-LCHlch(49.23, 40.28, 274.38°)
OKLaboklab(56.27% -0.0322 -0.1139)
OKLCHoklch(56.27% 0.118 254.2)
XYZxyz(17.4650, 17.7847, 48.4019)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077B9 #B98240
analogous
#40B4B9 #4077B9 #4640B9
triadic
#4077B9 #B94077 #77B940
tetradic
#4077B9 #B940B4 #B98240 #40B946
square
#4077B9 #B940B4 #B98240 #40B946
split-complementary
#4077B9 #B94640 #B4B940
monochromatic
#213D5E #305A8C #4077B9 #6B97CC #98B7DB

Accessibility & contrast

On white

4.61
#4077B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4077B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4077B9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077B9#FFFFFF#000000##FFFFFF
##4077B91.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBC
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4077b9;
/* rgb */ color: rgb(64, 119, 185);
/* oklch */ color: oklch(56.3% 0.118 254.2);
Tailwind
colors: {
  custom: {
    50: '#819dce',
    500: '#4077b9',
    950: '#000000',
  },
}
SCSS
$custom: #4077b9;
$custom-light: #819dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4077b9",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 185
  },
  "hsl": {
    "h": 212.727,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.1184,
    "h": 254.2
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4077B9

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

Preview Lab → · Contrast checker → · Palette generator →

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