#4072C3#4072C3

#4072C3 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.137 H 259.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4072C3
RGBrgb(64, 114, 195)
HSLhsl(217, 52%, 51%)
HSVhsv(217, 67%, 76%)
CMYKcmyk(67.2%, 41.5%, 0%, 23.5%)
CIE-LABlab(48.34, 9.69, -47.35)
CIE-LCHlch(48.34, 48.33, 281.57°)
OKLaboklab(55.76% -0.0248 -0.135)
OKLCHoklch(55.76% 0.137 259.6)
XYZxyz(17.9785, 17.0630, 53.9652)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072C3 #C39140
analogous
#40B3C3 #4072C3 #4F40C3
triadic
#4072C3 #C34072 #72C340
tetradic
#4072C3 #C340B3 #C39140 #40C34F
square
#4072C3 #C340B3 #C39140 #40C34F
split-complementary
#4072C3 #C34F40 #B3C340
monochromatic
#213C68 #2F5797 #4072C3 #6F94D2 #9DB7E0

Accessibility & contrast

On white

4.76
#4072C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4072C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072C3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072C3#FFFFFF#000000##FFFFFF
##4072C31.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)
#4C79C6
Deuteranopia (green-blind)
#386DC1
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4072c3;
/* rgb */ color: rgb(64, 114, 195);
/* oklch */ color: oklch(55.8% 0.137 259.6);
Tailwind
colors: {
  custom: {
    50: '#839ad5',
    500: '#4072c3',
    950: '#000000',
  },
}
SCSS
$custom: #4072c3;
$custom-light: #839ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4072c3",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 195
  },
  "hsl": {
    "h": 217.099,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.1373,
    "h": 259.6
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#4072C3
secondary
#CCB692
accent
#A54CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4072C3

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

Preview Lab → · Contrast checker → · Palette generator →

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