#4076D0#4076D0

#4076D0 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.4% C 0.150 H 260.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4076D0
RGBrgb(64, 118, 208)
HSLhsl(218, 61%, 53%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(69.2%, 43.3%, 0%, 18.4%)
CIE-LABlab(50.21, 11.86, -51.79)
CIE-LCHlch(50.21, 53.13, 282.90°)
OKLaboklab(57.45% -0.026 -0.148)
OKLCHoklch(57.45% 0.15 260)
XYZxyz(19.9739, 18.5989, 62.1996)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076D0 #D09A40
analogous
#40BED0 #4076D0 #5240D0
triadic
#4076D0 #D04076 #76D040
tetradic
#4076D0 #D040BE #D09A40 #40D052
square
#4076D0 #D040BE #D09A40 #40D052
split-complementary
#4076D0 #D05240 #BED040
monochromatic
#1E3F78 #2A59A9 #4076D0 #7199DC #A2BCE8

Accessibility & contrast

On white

4.45
#4076D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4076D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076D0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076D0#FFFFFF#000000##000000
##4076D01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7FD3
Deuteranopia (green-blind)
#3171CE
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4076d0;
/* rgb */ color: rgb(64, 118, 208);
/* oklch */ color: oklch(57.4% 0.150 260.0);
Tailwind
colors: {
  custom: {
    50: '#859ddf',
    500: '#4076d0',
    950: '#000000',
  },
}
SCSS
$custom: #4076d0;
$custom-light: #859ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#4076d0",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 208
  },
  "hsl": {
    "h": 217.5,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.15029,
    "h": 260
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#4076D0
secondary
#D5BE97
accent
#A844E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076D0

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

Preview Lab → · Contrast checker → · Palette generator →

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