#4071CE#4071CE

#4071CE is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.2% C 0.153 H 261.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4071CE
RGBrgb(64, 113, 206)
HSLhsl(219, 59%, 53%)
HSVhsv(219, 69%, 81%)
CMYKcmyk(68.9%, 45.1%, 0%, 19.2%)
CIE-LABlab(48.70, 14.26, -53.06)
CIE-LCHlch(48.70, 54.95, 285.04°)
OKLaboklab(56.24% -0.0218 -0.1519)
OKLCHoklch(56.24% 0.153 261.8)
XYZxyz(19.1561, 17.3545, 60.7208)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071CE #CE9D40
analogous
#40B8CE #4071CE #5640CE
triadic
#4071CE #CE4071 #71CE40
tetradic
#4071CE #CE40B8 #CE9D40 #40CE56
square
#4071CE #CE40B8 #CE9D40 #40CE56
split-complementary
#4071CE #CE5640 #B8CE40
monochromatic
#1E3C75 #2B55A6 #4071CE #7195DA #A1B9E7

Accessibility & contrast

On white

4.70
#4071CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4071CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071CE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071CE#FFFFFF#000000##FFFFFF
##4071CE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD2
Deuteranopia (green-blind)
#276ECC
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4071ce;
/* rgb */ color: rgb(64, 113, 206);
/* oklch */ color: oklch(56.2% 0.153 261.8);
Tailwind
colors: {
  custom: {
    50: '#8599dd',
    500: '#4071ce',
    950: '#000000',
  },
}
SCSS
$custom: #4071ce;
$custom-light: #8599dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4071ce",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 219.296,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.15341,
    "h": 261.8
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#4071CE
secondary
#D4BE96
accent
#AC45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071CE

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

Preview Lab → · Contrast checker → · Palette generator →

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