#4071BE#4071BE

#4071BE is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.132 H 259.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4071BE
RGBrgb(64, 113, 190)
HSLhsl(217, 50%, 50%)
HSVhsv(217, 66%, 75%)
CMYKcmyk(66.3%, 40.5%, 0%, 25.5%)
CIE-LABlab(47.77, 8.53, -45.37)
CIE-LCHlch(47.77, 46.17, 280.65°)
OKLaboklab(55.22% -0.0249 -0.1293)
OKLCHoklch(55.22% 0.132 259.1)
XYZxyz(17.3104, 16.6162, 51.0002)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071BE #BE8D40
analogous
#40B0BE #4071BE #4E40BE
triadic
#4071BE #BE4071 #71BE40
tetradic
#4071BE #BE40B0 #BE8D40 #40BE4E
square
#4071BE #BE40B0 #BE8D40 #40BE4E
split-complementary
#4071BE #BE4E40 #B0BE40
monochromatic
#213B62 #315690 #4071BE #6D93CE #9BB5DD

Accessibility & contrast

On white

4.86
#4071BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4071BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071BE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071BE#FFFFFF#000000##FFFFFF
##4071BE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C1
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4071be;
/* rgb */ color: rgb(64, 113, 190);
/* oklch */ color: oklch(55.2% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#8299d2',
    500: '#4071be',
    950: '#000000',
  },
}
SCSS
$custom: #4071be;
$custom-light: #8299d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4071be",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 216.667,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.13163,
    "h": 259.1
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#4071BE
secondary
#C9B390
accent
#A34FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #4071BE

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

Preview Lab → · Contrast checker → · Palette generator →

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