#4077D1#4077D1

#4077D1 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.150 H 259.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4077D1
RGBrgb(64, 119, 209)
HSLhsl(217, 61%, 54%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(69.4%, 43.1%, 0%, 18%)
CIE-LABlab(50.55, 11.60, -51.81)
CIE-LCHlch(50.55, 53.10, 282.62°)
OKLaboklab(57.73% -0.0268 -0.1481)
OKLCHoklch(57.73% 0.15 259.8)
XYZxyz(20.2157, 18.8850, 62.8890)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077D1 #D19A40
analogous
#40BFD1 #4077D1 #5140D1
triadic
#4077D1 #D14077 #77D140
tetradic
#4077D1 #D140BF #D19A40 #40D151
square
#4077D1 #D140BF #D19A40 #40D151
split-complementary
#4077D1 #D15140 #BFD140
monochromatic
#1D4079 #295AAB #4077D1 #719ADD #A3BDE9

Accessibility & contrast

On white

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

On black

4.78
#4077D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077D1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077D1#FFFFFF#000000##000000
##4077D11.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D4
Deuteranopia (green-blind)
#3272CF
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4077d1;
/* rgb */ color: rgb(64, 119, 209);
/* oklch */ color: oklch(57.7% 0.150 259.8);
Tailwind
colors: {
  custom: {
    50: '#859ddf',
    500: '#4077d1',
    950: '#000000',
  },
}
SCSS
$custom: #4077d1;
$custom-light: #859ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#4077d1",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 209
  },
  "hsl": {
    "h": 217.241,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.15049,
    "h": 259.8
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4077D1

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

Preview Lab → · Contrast checker → · Palette generator →

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