#4071CA#4071CA

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

Color values

HEX#4071CA
RGBrgb(64, 113, 202)
HSLhsl(219, 57%, 52%)
HSVhsv(219, 68%, 79%)
CMYKcmyk(68.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(48.46, 12.82, -51.16)
CIE-LCHlch(48.46, 52.74, 284.07°)
OKLaboklab(55.98% -0.0225 -0.1463)
OKLCHoklch(55.98% 0.148 261.3)
XYZxyz(18.6764, 17.1626, 58.1941)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071CA #CA9940
analogous
#40B6CA #4071CA #5440CA
triadic
#4071CA #CA4071 #71CA40
tetradic
#4071CA #CA40B6 #CA9940 #40CA54
square
#4071CA #CA40B6 #CA9940 #40CA54
split-complementary
#4071CA #CA5440 #B6CA40
monochromatic
#1F3C70 #2C56A0 #4071CA #7095D7 #A0B8E5

Accessibility & contrast

On white

4.74
#4071CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4071CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071CA#FFFFFF#000000##FFFFFF
##4071CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467ACD
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4071ca;
/* rgb */ color: rgb(64, 113, 202);
/* oklch */ color: oklch(56.0% 0.148 261.3);
Tailwind
colors: {
  custom: {
    50: '#8499db',
    500: '#4071ca',
    950: '#000000',
  },
}
SCSS
$custom: #4071ca;
$custom-light: #8499db;
$custom-dark: #000000;
JSON
{
  "hex": "#4071ca",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 218.696,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.14798,
    "h": 261.3
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#4071CA
secondary
#D1BC95
accent
#AA48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071CA

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

Preview Lab → · Contrast checker → · Palette generator →

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