#4071CB#4071CB

#4071CB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.149 H 261.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4071CB
RGBrgb(64, 113, 203)
HSLhsl(219, 57%, 52%)
HSVhsv(219, 68%, 80%)
CMYKcmyk(68.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.52, 13.18, -51.64)
CIE-LCHlch(48.52, 53.29, 284.32°)
OKLaboklab(56.05% -0.0223 -0.1477)
OKLCHoklch(56.05% 0.149 261.4)
XYZxyz(18.7951, 17.2101, 58.8197)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071CB #CB9A40
analogous
#40B7CB #4071CB #5540CB
triadic
#4071CB #CB4071 #71CB40
tetradic
#4071CB #CB40B7 #CB9A40 #40CB55
square
#4071CB #CB40B7 #CB9A40 #40CB55
split-complementary
#4071CB #CB5540 #B7CB40
monochromatic
#1F3C72 #2C56A2 #4071CB #7095D8 #A0B9E5

Accessibility & contrast

On white

4.73
#4071CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4071CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071CB#FFFFFF#000000##FFFFFF
##4071CB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4071cb;
/* rgb */ color: rgb(64, 113, 203);
/* oklch */ color: oklch(56.0% 0.149 261.4);
Tailwind
colors: {
  custom: {
    50: '#8499db',
    500: '#4071cb',
    950: '#000000',
  },
}
SCSS
$custom: #4071cb;
$custom-light: #8499db;
$custom-dark: #000000;
JSON
{
  "hex": "#4071cb",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 218.849,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.14934,
    "h": 261.4
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#4071CB
secondary
#D2BC95
accent
#AA47E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071CB

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

Preview Lab → · Contrast checker → · Palette generator →

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