#4077D5#4077D5

#4077D5 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.0% C 0.156 H 260.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4077D5
RGBrgb(64, 119, 213)
HSLhsl(218, 64%, 54%)
HSVhsv(218, 70%, 84%)
CMYKcmyk(70%, 44.1%, 0%, 16.5%)
CIE-LABlab(50.79, 13.03, -53.71)
CIE-LCHlch(50.79, 55.27, 283.64°)
OKLaboklab(57.98% -0.026 -0.1537)
OKLCHoklch(57.98% 0.156 260.4)
XYZxyz(20.7171, 19.0856, 65.5299)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077D5 #D59E40
analogous
#40C2D5 #4077D5 #5440D5
triadic
#4077D5 #D54077 #77D540
tetradic
#4077D5 #D540C2 #D59E40 #40D554
square
#4077D5 #D540C2 #D59E40 #40D554
split-complementary
#4077D5 #D55440 #C2D540
monochromatic
#1C407F #275AB1 #4077D5 #729BE0 #A4BEEB

Accessibility & contrast

On white

4.36
#4077D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4077D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077D5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077D5#FFFFFF#000000##000000
##4077D51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4880D9
Deuteranopia (green-blind)
#2D73D3
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4077d5;
/* rgb */ color: rgb(64, 119, 213);
/* oklch */ color: oklch(58.0% 0.156 260.4);
Tailwind
colors: {
  custom: {
    50: '#869de2',
    500: '#4077d5',
    950: '#000000',
  },
}
SCSS
$custom: #4077d5;
$custom-light: #869de2;
$custom-dark: #000000;
JSON
{
  "hex": "#4077d5",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 213
  },
  "hsl": {
    "h": 217.852,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.15585,
    "h": 260.4
  },
  "luminance": 0.19088
}

Semantic roles & 50–950 ramp

primary
#4077D5
secondary
#D8C199
accent
#AA41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4077D5

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

Preview Lab → · Contrast checker → · Palette generator →

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