#4077D0#4077D0

#4077D0 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.7% C 0.149 H 259.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4077D0
RGBrgb(64, 119, 208)
HSLhsl(217, 61%, 53%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(69.2%, 42.8%, 0%, 18.4%)
CIE-LABlab(50.49, 11.24, -51.34)
CIE-LCHlch(50.49, 52.55, 282.35°)
OKLaboklab(57.66% -0.027 -0.1467)
OKLCHoklch(57.66% 0.149 259.6)
XYZxyz(20.0923, 18.8356, 62.2390)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077D0 #D09940
analogous
#40BFD0 #4077D0 #5140D0
triadic
#4077D0 #D04077 #77D040
tetradic
#4077D0 #D040BF #D09940 #40D051
square
#4077D0 #D040BF #D09940 #40D051
split-complementary
#4077D0 #D05140 #BFD040
monochromatic
#1E4078 #2A5AA9 #4077D0 #719ADC #A2BDE8

Accessibility & contrast

On white

4.40
#4077D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4077D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077D0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077D0#FFFFFF#000000##000000
##4077D01.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7FD3
Deuteranopia (green-blind)
#3472CE
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4077d0;
/* rgb */ color: rgb(64, 119, 208);
/* oklch */ color: oklch(57.7% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#859ddf',
    500: '#4077d0',
    950: '#000000',
  },
}
SCSS
$custom: #4077d0;
$custom-light: #859ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#4077d0",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 208
  },
  "hsl": {
    "h": 217.083,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57663,
    "c": 0.14915,
    "h": 259.6
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

primary
#4077D0
secondary
#D5BD97
accent
#A744E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4077D0

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

Preview Lab → · Contrast checker → · Palette generator →

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