#4071CC#4071CC

#4071CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.151 H 261.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4071CC
RGBrgb(64, 113, 204)
HSLhsl(219, 58%, 53%)
HSVhsv(219, 69%, 80%)
CMYKcmyk(68.6%, 44.6%, 0%, 20%)
CIE-LABlab(48.58, 13.54, -52.11)
CIE-LCHlch(48.58, 53.84, 284.56°)
OKLaboklab(56.11% -0.0221 -0.1491)
OKLCHoklch(56.11% 0.151 261.6)
XYZxyz(18.9147, 17.2580, 59.4493)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071CC #CC9B40
analogous
#40B7CC #4071CC #5540CC
triadic
#4071CC #CC4071 #71CC40
tetradic
#4071CC #CC40B7 #CC9B40 #40CC55
square
#4071CC #CC40B7 #CC9B40 #40CC55
split-complementary
#4071CC #CC5540 #B7CC40
monochromatic
#1F3C73 #2C55A3 #4071CC #7095D9 #A1B9E6

Accessibility & contrast

On white

4.72
#4071CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4071CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071CC#FFFFFF#000000##FFFFFF
##4071CC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4071cc;
/* rgb */ color: rgb(64, 113, 204);
/* oklch */ color: oklch(56.1% 0.151 261.6);
Tailwind
colors: {
  custom: {
    50: '#8499dc',
    500: '#4071cc',
    950: '#000000',
  },
}
SCSS
$custom: #4071cc;
$custom-light: #8499dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4071cc",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 219,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.1507,
    "h": 261.6
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#4071CC
secondary
#D2BD95
accent
#AB47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071CC

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

Preview Lab → · Contrast checker → · Palette generator →

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