#4071C1#4071C1

#4071C1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.136 H 259.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4071C1
RGBrgb(64, 113, 193)
HSLhsl(217, 51%, 50%)
HSVhsv(217, 67%, 76%)
CMYKcmyk(66.8%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.94, 9.60, -46.83)
CIE-LCHlch(47.94, 47.80, 281.59°)
OKLaboklab(55.41% -0.0242 -0.1335)
OKLCHoklch(55.41% 0.136 259.7)
XYZxyz(17.6417, 16.7488, 52.7448)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C1 #C19040
analogous
#40B2C1 #4071C1 #4F40C1
triadic
#4071C1 #C14071 #71C140
tetradic
#4071C1 #C140B2 #C19040 #40C14F
square
#4071C1 #C140B2 #C19040 #40C14F
split-complementary
#4071C1 #C14F40 #B2C140
monochromatic
#213B66 #305694 #4071C1 #6E93D0 #9CB6DF

Accessibility & contrast

On white

4.83
#4071C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4071C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C1#FFFFFF#000000##FFFFFF
##4071C11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#386CBF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4071c1;
/* rgb */ color: rgb(64, 113, 193);
/* oklch */ color: oklch(55.4% 0.136 259.7);
Tailwind
colors: {
  custom: {
    50: '#8299d4',
    500: '#4071c1',
    950: '#000000',
  },
}
SCSS
$custom: #4071c1;
$custom-light: #8299d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c1",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 217.209,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.13572,
    "h": 259.7
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#4071C1
secondary
#CBB592
accent
#A54DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4071C1

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

Preview Lab → · Contrast checker → · Palette generator →

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