#4071C5#4071C5

#4071C5 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.141 H 260.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4071C5
RGBrgb(64, 113, 197)
HSLhsl(218, 53%, 51%)
HSVhsv(218, 68%, 77%)
CMYKcmyk(67.5%, 42.6%, 0%, 22.7%)
CIE-LABlab(48.17, 11.03, -48.76)
CIE-LCHlch(48.17, 50.00, 282.75°)
OKLaboklab(55.66% -0.0234 -0.1392)
OKLCHoklch(55.66% 0.141 260.5)
XYZxyz(18.0939, 16.9296, 55.1267)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C5 #C59440
analogous
#40B3C5 #4071C5 #5140C5
triadic
#4071C5 #C54071 #71C540
tetradic
#4071C5 #C540B3 #C59440 #40C551
square
#4071C5 #C540B3 #C59440 #40C551
split-complementary
#4071C5 #C55140 #B3C540
monochromatic
#203C6A #2F5699 #4071C5 #6F94D3 #9EB7E2

Accessibility & contrast

On white

4.79
#4071C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4071C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C5#FFFFFF#000000##FFFFFF
##4071C51.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#336DC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4071c5;
/* rgb */ color: rgb(64, 113, 197);
/* oklch */ color: oklch(55.7% 0.141 260.5);
Tailwind
colors: {
  custom: {
    50: '#8399d7',
    500: '#4071c5',
    950: '#000000',
  },
}
SCSS
$custom: #4071c5;
$custom-light: #8399d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c5",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 217.895,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55662,
    "c": 0.14118,
    "h": 260.5
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#4071C5
secondary
#CEB893
accent
#A74BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4071C5

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

Preview Lab → · Contrast checker → · Palette generator →

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