#4076DA#4076DA

#4076DA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.1% C 0.164 H 261.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4076DA
RGBrgb(64, 118, 218)
HSLhsl(219, 68%, 55%)
HSVhsv(219, 71%, 85%)
CMYKcmyk(70.6%, 45.9%, 0%, 14.5%)
CIE-LABlab(50.81, 15.45, -56.50)
CIE-LCHlch(50.81, 58.57, 285.30°)
OKLaboklab(58.1% -0.0243 -0.1619)
OKLCHoklch(58.1% 0.164 261.5)
XYZxyz(21.2431, 19.1066, 68.8845)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076DA #DAA440
analogous
#40C3DA #4076DA #5740DA
triadic
#4076DA #DA4076 #76DA40
tetradic
#4076DA #DA40C3 #DAA440 #40DA57
square
#4076DA #DA40C3 #DAA440 #40DA57
split-complementary
#4076DA #DA5740 #C3DA40
monochromatic
#1A4086 #2458B9 #4076DA #739BE4 #A7C0EE

Accessibility & contrast

On white

4.36
#4076DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4076DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076DA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076DA#FFFFFF#000000##000000
##4076DA1.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)
#4281DE
Deuteranopia (green-blind)
#2172D8
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4076da;
/* rgb */ color: rgb(64, 118, 218);
/* oklch */ color: oklch(58.1% 0.164 261.5);
Tailwind
colors: {
  custom: {
    50: '#879ce6',
    500: '#4076da',
    950: '#000000',
  },
}
SCSS
$custom: #4076da;
$custom-light: #879ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4076da",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 218
  },
  "hsl": {
    "h": 218.961,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.581,
    "c": 0.16369,
    "h": 261.5
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#4076DA
secondary
#DBC59B
accent
#AE3DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4076DA

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

Preview Lab → · Contrast checker → · Palette generator →

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