#4071C4#4071C4

#4071C4 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.140 H 260.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4071C4
RGBrgb(64, 113, 196)
HSLhsl(218, 53%, 51%)
HSVhsv(218, 67%, 77%)
CMYKcmyk(67.3%, 42.3%, 0%, 23.1%)
CIE-LABlab(48.11, 10.67, -48.28)
CIE-LCHlch(48.11, 49.45, 282.46°)
OKLaboklab(55.6% -0.0236 -0.1378)
OKLCHoklch(55.6% 0.14 260.3)
XYZxyz(17.9797, 16.8840, 54.5252)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C4 #C49340
analogous
#40B3C4 #4071C4 #5140C4
triadic
#4071C4 #C44071 #71C440
tetradic
#4071C4 #C440B3 #C49340 #40C451
square
#4071C4 #C440B3 #C49340 #40C451
split-complementary
#4071C4 #C45140 #B3C440
monochromatic
#203B69 #2F5698 #4071C4 #6F94D2 #9EB7E1

Accessibility & contrast

On white

4.80
#4071C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4071C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C4#FFFFFF#000000##FFFFFF
##4071C41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C7
Deuteranopia (green-blind)
#356DC2
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4071c4;
/* rgb */ color: rgb(64, 113, 196);
/* oklch */ color: oklch(55.6% 0.140 260.3);
Tailwind
colors: {
  custom: {
    50: '#8399d6',
    500: '#4071c4',
    950: '#000000',
  },
}
SCSS
$custom: #4071c4;
$custom-light: #8399d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c4",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 217.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.13981,
    "h": 260.3
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#4071C4
secondary
#CDB793
accent
#A74CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4071C4

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

Preview Lab → · Contrast checker → · Palette generator →

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