#4072C0#4072C0

#4072C0 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.133 H 259.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4072C0
RGBrgb(64, 114, 192)
HSLhsl(217, 50%, 50%)
HSVhsv(217, 67%, 75%)
CMYKcmyk(66.7%, 40.6%, 0%, 24.7%)
CIE-LABlab(48.17, 8.62, -45.89)
CIE-LCHlch(48.17, 46.69, 280.64°)
OKLaboklab(55.57% -0.0254 -0.1308)
OKLCHoklch(55.57% 0.133 259)
XYZxyz(17.6427, 16.9286, 52.1967)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072C0 #C08E40
analogous
#40B2C0 #4072C0 #4E40C0
triadic
#4072C0 #C04072 #72C040
tetradic
#4072C0 #C040B2 #C08E40 #40C04E
square
#4072C0 #C040B2 #C08E40 #40C04E
split-complementary
#4072C0 #C04E40 #B2C040
monochromatic
#213B64 #305792 #4072C0 #6E94CF #9CB6DE

Accessibility & contrast

On white

4.79
#4072C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4072C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072C0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072C0#FFFFFF#000000##FFFFFF
##4072C01.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)
#4E79C3
Deuteranopia (green-blind)
#3B6DBE
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4072c0;
/* rgb */ color: rgb(64, 114, 192);
/* oklch */ color: oklch(55.6% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#829ad3',
    500: '#4072c0',
    950: '#000000',
  },
}
SCSS
$custom: #4072c0;
$custom-light: #829ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4072c0",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 192
  },
  "hsl": {
    "h": 216.563,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.13322,
    "h": 259
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#4072C0
secondary
#CBB491
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4072C0

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

Preview Lab → · Contrast checker → · Palette generator →

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