#4071D3#4071D3

#4071D3 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.160 H 262.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4071D3
RGBrgb(64, 113, 211)
HSLhsl(220, 63%, 54%)
HSVhsv(220, 70%, 83%)
CMYKcmyk(69.7%, 46.4%, 0%, 17.3%)
CIE-LABlab(49.01, 16.06, -55.42)
CIE-LCHlch(49.01, 57.70, 286.16°)
OKLaboklab(56.58% -0.021 -0.1588)
OKLCHoklch(56.58% 0.16 262.5)
XYZxyz(19.7732, 17.6013, 63.9707)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071D3 #D3A240
analogous
#40BBD3 #4071D3 #5940D3
triadic
#4071D3 #D34071 #71D340
tetradic
#4071D3 #D340BB #D3A240 #40D359
square
#4071D3 #D340BB #D3A240 #40D359
split-complementary
#4071D3 #D35940 #BBD340
monochromatic
#1D3C7C #2855AE #4071D3 #7296DE #A3BBEA

Accessibility & contrast

On white

4.65
#4071D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4071D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4071D3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071D3#FFFFFF#000000##FFFFFF
##4071D31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD7
Deuteranopia (green-blind)
#1D6ED1
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4071d3;
/* rgb */ color: rgb(64, 113, 211);
/* oklch */ color: oklch(56.6% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#8699e1',
    500: '#4071d3',
    950: '#000000',
  },
}
SCSS
$custom: #4071d3;
$custom-light: #8699e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4071d3",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 220,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56577,
    "c": 0.16018,
    "h": 262.5
  },
  "luminance": 0.17603
}

Semantic roles & 50–950 ramp

primary
#4071D3
secondary
#D7C298
accent
#AF42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071D3

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

Preview Lab → · Contrast checker → · Palette generator →

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