#4071EB#4071EB

#4071EB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.192 H 264.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4071EB
RGBrgb(64, 113, 235)
HSLhsl(223, 81%, 59%)
HSVhsv(223, 73%, 92%)
CMYKcmyk(72.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(50.57, 24.70, -66.46)
CIE-LCHlch(50.57, 70.91, 290.39°)
OKLaboklab(58.26% -0.018 -0.1913)
OKLCHoklch(58.26% 0.192 264.6)
XYZxyz(23.0096, 18.8959, 81.0158)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071EB #EBBA40
analogous
#40C6EB #4071EB #6440EB
triadic
#4071EB #EB4071 #71EB40
tetradic
#4071EB #EB40C6 #EBBA40 #40EB64
square
#4071EB #EB40C6 #EBBA40 #40EB64
split-complementary
#4071EB #EB6440 #C6EB40
monochromatic
#113AA0 #174ED7 #4071EB #779AF1 #AFC3F7

Accessibility & contrast

On white

4.39
#4071EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4071EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071EB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071EB#FFFFFF#000000##000000
##4071EB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4071eb;
/* rgb */ color: rgb(64, 113, 235);
/* oklch */ color: oklch(58.3% 0.192 264.6);
Tailwind
colors: {
  custom: {
    50: '#8a99f2',
    500: '#4071eb',
    950: '#000000',
  },
}
SCSS
$custom: #4071eb;
$custom-light: #8a99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4071eb",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 222.807,
    "s": 81.043,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.19213,
    "h": 264.6
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#4071EB
secondary
#E5D2A2
accent
#BE30F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #4071EB

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

Preview Lab → · Contrast checker → · Palette generator →

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