#4071CF#4071CF

#4071CF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.155 H 262.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4071CF
RGBrgb(64, 113, 207)
HSLhsl(219, 60%, 53%)
HSVhsv(219, 69%, 81%)
CMYKcmyk(69.1%, 45.4%, 0%, 18.8%)
CIE-LABlab(48.76, 14.62, -53.54)
CIE-LCHlch(48.76, 55.50, 285.27°)
OKLaboklab(56.31% -0.0216 -0.1532)
OKLCHoklch(56.31% 0.155 262)
XYZxyz(19.2780, 17.4033, 61.3626)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071CF #CF9E40
analogous
#40B8CF #4071CF #5640CF
triadic
#4071CF #CF4071 #71CF40
tetradic
#4071CF #CF40B8 #CF9E40 #40CF56
square
#4071CF #CF40B8 #CF9E40 #40CF56
split-complementary
#4071CF #CF5640 #B8CF40
monochromatic
#1E3C77 #2A55A8 #4071CF #7195DB #A2BAE8

Accessibility & contrast

On white

4.69
#4071CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4071CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071CF#FFFFFF#000000##FFFFFF
##4071CF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#256ECD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4071cf;
/* rgb */ color: rgb(64, 113, 207);
/* oklch */ color: oklch(56.3% 0.155 262.0);
Tailwind
colors: {
  custom: {
    50: '#8599de',
    500: '#4071cf',
    950: '#000000',
  },
}
SCSS
$custom: #4071cf;
$custom-light: #8599de;
$custom-dark: #000000;
JSON
{
  "hex": "#4071cf",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 219.441,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.15477,
    "h": 262
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#4071CF
secondary
#D4BF97
accent
#AD45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071CF

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

Preview Lab → · Contrast checker → · Palette generator →

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