#4077D3#4077D3

#4077D3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.153 H 260.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4077D3
RGBrgb(64, 119, 211)
HSLhsl(218, 63%, 54%)
HSVhsv(218, 70%, 83%)
CMYKcmyk(69.7%, 43.6%, 0%, 17.3%)
CIE-LABlab(50.67, 12.31, -52.76)
CIE-LCHlch(50.67, 54.18, 283.14°)
OKLaboklab(57.86% -0.0264 -0.1509)
OKLCHoklch(57.86% 0.153 260.1)
XYZxyz(20.4648, 18.9847, 64.2013)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077D3 #D39C40
analogous
#40C1D3 #4077D3 #5340D3
triadic
#4077D3 #D34077 #77D340
tetradic
#4077D3 #D340C1 #D39C40 #40D353
square
#4077D3 #D340C1 #D39C40 #40D353
split-complementary
#4077D3 #D35340 #C1D340
monochromatic
#1D407C #285AAE #4077D3 #729ADE #A3BEEA

Accessibility & contrast

On white

4.38
#4077D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4077D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077D3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077D3#FFFFFF#000000##000000
##4077D31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D7
Deuteranopia (green-blind)
#3072D1
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4077d3;
/* rgb */ color: rgb(64, 119, 211);
/* oklch */ color: oklch(57.9% 0.153 260.1);
Tailwind
colors: {
  custom: {
    50: '#859de1',
    500: '#4077d3',
    950: '#000000',
  },
}
SCSS
$custom: #4077d3;
$custom-light: #859de1;
$custom-dark: #000000;
JSON
{
  "hex": "#4077d3",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 211
  },
  "hsl": {
    "h": 217.551,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.15317,
    "h": 260.1
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#4077D3
secondary
#D7BF98
accent
#A842E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4077D3

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

Preview Lab → · Contrast checker → · Palette generator →

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