#4076D3#4076D3

#4076D3 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.6% C 0.154 H 260.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4076D3
RGBrgb(64, 118, 211)
HSLhsl(218, 63%, 54%)
HSVhsv(218, 70%, 83%)
CMYKcmyk(69.7%, 44.1%, 0%, 17.3%)
CIE-LABlab(50.39, 12.93, -53.21)
CIE-LCHlch(50.39, 54.76, 283.66°)
OKLaboklab(57.64% -0.0255 -0.1522)
OKLCHoklch(57.64% 0.154 260.5)
XYZxyz(20.3464, 18.7479, 64.1618)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076D3 #D39D40
analogous
#40C0D3 #4076D3 #5440D3
triadic
#4076D3 #D34076 #76D340
tetradic
#4076D3 #D340C0 #D39D40 #40D354
square
#4076D3 #D340C0 #D39D40 #40D354
split-complementary
#4076D3 #D35440 #C0D340
monochromatic
#1D407C #2859AE #4076D3 #729ADE #A3BDEA

Accessibility & contrast

On white

4.42
#4076D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4076D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076D3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076D3#FFFFFF#000000##000000
##4076D31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#487FD7
Deuteranopia (green-blind)
#2D72D1
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4076d3;
/* rgb */ color: rgb(64, 118, 211);
/* oklch */ color: oklch(57.6% 0.154 260.5);
Tailwind
colors: {
  custom: {
    50: '#859ce1',
    500: '#4076d3',
    950: '#000000',
  },
}
SCSS
$custom: #4076d3;
$custom-light: #859ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4076d3",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 211
  },
  "hsl": {
    "h": 217.959,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.15432,
    "h": 260.5
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#4076D3
secondary
#D7C098
accent
#AA42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076D3

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

Preview Lab → · Contrast checker → · Palette generator →

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