#4071BA#4071BA

#4071BA is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.0% C 0.126 H 258.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4071BA
RGBrgb(64, 113, 186)
HSLhsl(216, 49%, 49%)
HSVhsv(216, 66%, 73%)
CMYKcmyk(65.6%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.55, 7.12, -43.41)
CIE-LCHlch(47.55, 43.99, 279.31°)
OKLaboklab(54.98% -0.0257 -0.1235)
OKLCHoklch(54.98% 0.126 258.2)
XYZxyz(16.8792, 16.4438, 48.7293)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071BA #BA8940
analogous
#40AEBA #4071BA #4C40BA
triadic
#4071BA #BA4071 #71BA40
tetradic
#4071BA #BA40AE #BA8940 #40BA4C
square
#4071BA #BA40AE #BA8940 #40BA4C
split-complementary
#4071BA #BA4C40 #AEBA40
monochromatic
#213A5F #30558C #4071BA #6B92CC #99B4DC

Accessibility & contrast

On white

4.90
#4071BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4071BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071BA#FFFFFF#000000##FFFFFF
##4071BA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4071ba;
/* rgb */ color: rgb(64, 113, 186);
/* oklch */ color: oklch(55.0% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#8199cf',
    500: '#4071ba',
    950: '#000000',
  },
}
SCSS
$custom: #4071ba;
$custom-light: #8199cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4071ba",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 215.902,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.12618,
    "h": 258.2
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#4071BA
secondary
#C8B18E
accent
#A14FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #4071BA

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

Preview Lab → · Contrast checker → · Palette generator →

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