#4071C3#4071C3

#4071C3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.138 H 260.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4071C3
RGBrgb(64, 113, 195)
HSLhsl(218, 52%, 51%)
HSVhsv(218, 67%, 76%)
CMYKcmyk(67.2%, 42.1%, 0%, 23.5%)
CIE-LABlab(48.06, 10.32, -47.80)
CIE-LCHlch(48.06, 48.90, 282.18°)
OKLaboklab(55.54% -0.0238 -0.1364)
OKLCHoklch(55.54% 0.138 260.1)
XYZxyz(17.8663, 16.8386, 53.9278)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071C3 #C39240
analogous
#40B2C3 #4071C3 #5040C3
triadic
#4071C3 #C34071 #71C340
tetradic
#4071C3 #C340B2 #C39240 #40C350
square
#4071C3 #C340B2 #C39240 #40C350
split-complementary
#4071C3 #C35040 #B2C340
monochromatic
#213B68 #2F5697 #4071C3 #6F94D2 #9DB6E0

Accessibility & contrast

On white

4.81
#4071C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4071C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071C3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071C3#FFFFFF#000000##FFFFFF
##4071C31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#366CC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4071c3;
/* rgb */ color: rgb(64, 113, 195);
/* oklch */ color: oklch(55.5% 0.138 260.1);
Tailwind
colors: {
  custom: {
    50: '#8399d5',
    500: '#4071c3',
    950: '#000000',
  },
}
SCSS
$custom: #4071c3;
$custom-light: #8399d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4071c3",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 217.557,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55536,
    "c": 0.13844,
    "h": 260.1
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#4071C3
secondary
#CCB792
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4071C3

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

Preview Lab → · Contrast checker → · Palette generator →

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