#4071C0#4071C0

#4071C0 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.134 H 259.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4071C0
RGBrgb(64, 113, 192)
HSLhsl(217, 50%, 50%)
HSVhsv(217, 67%, 75%)
CMYKcmyk(66.7%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.89, 9.25, -46.34)
CIE-LCHlch(47.89, 47.26, 281.28°)
OKLaboklab(55.35% -0.0244 -0.1321)
OKLCHoklch(55.35% 0.134 259.5)
XYZxyz(17.5305, 16.7043, 52.1593)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C0 #C08F40
analogous
#40B1C0 #4071C0 #4F40C0
triadic
#4071C0 #C04071 #71C040
tetradic
#4071C0 #C040B1 #C08F40 #40C04F
square
#4071C0 #C040B1 #C08F40 #40C04F
split-complementary
#4071C0 #C04F40 #B1C040
monochromatic
#213B64 #305692 #4071C0 #6E93CF #9CB5DE

Accessibility & contrast

On white

4.84
#4071C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4071C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C0#FFFFFF#000000##FFFFFF
##4071C01.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#396CBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4071c0;
/* rgb */ color: rgb(64, 113, 192);
/* oklch */ color: oklch(55.3% 0.134 259.5);
Tailwind
colors: {
  custom: {
    50: '#8299d3',
    500: '#4071c0',
    950: '#000000',
  },
}
SCSS
$custom: #4071c0;
$custom-light: #8299d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c0",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 217.031,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.13436,
    "h": 259.5
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#4071C0
secondary
#CBB591
accent
#A44EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4071C0

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

Preview Lab → · Contrast checker → · Palette generator →

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