#4071C8#4071C8

#4071C8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.145 H 260.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4071C8
RGBrgb(64, 113, 200)
HSLhsl(218, 55%, 52%)
HSVhsv(218, 68%, 78%)
CMYKcmyk(68%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.35, 12.10, -50.20)
CIE-LCHlch(48.35, 51.64, 283.55°)
OKLaboklab(55.85% -0.0228 -0.1434)
OKLCHoklch(55.85% 0.145 260.9)
XYZxyz(18.4411, 17.0685, 56.9551)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C8 #C89740
analogous
#40B5C8 #4071C8 #5340C8
triadic
#4071C8 #C84071 #71C840
tetradic
#4071C8 #C840B5 #C89740 #40C853
square
#4071C8 #C840B5 #C89740 #40C853
split-complementary
#4071C8 #C85340 #B5C840
monochromatic
#203C6E #2D569D #4071C8 #7094D6 #9FB8E3

Accessibility & contrast

On white

4.76
#4071C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4071C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C8#FFFFFF#000000##FFFFFF
##4071C81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACB
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4071c8;
/* rgb */ color: rgb(64, 113, 200);
/* oklch */ color: oklch(55.9% 0.145 260.9);
Tailwind
colors: {
  custom: {
    50: '#8499d9',
    500: '#4071c8',
    950: '#000000',
  },
}
SCSS
$custom: #4071c8;
$custom-light: #8499d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c8",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 218.382,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.14526,
    "h": 260.9
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#4071C8
secondary
#D0BA94
accent
#A949DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071C8

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

Preview Lab → · Contrast checker → · Palette generator →

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