#4A72CF#4A72CF

#4A72CF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.150 H 264.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4A72CF
RGBrgb(74, 114, 207)
HSLhsl(222, 58%, 55%)
HSVhsv(222, 64%, 81%)
CMYKcmyk(64.3%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.49, 15.61, -52.35)
CIE-LCHlch(49.49, 54.63, 286.61°)
OKLaboklab(56.99% -0.0141 -0.1496)
OKLCHoklch(56.99% 0.15 264.6)
XYZxyz(20.0999, 17.9936, 61.4332)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A72CF #CFA74A
analogous
#4AB4CF #4A72CF #644ACF
triadic
#4A72CF #CF4A72 #72CF4A
tetradic
#4A72CF #CF4AB4 #CFA74A #4ACF64
square
#4A72CF #CF4AB4 #CFA74A #4ACF64
split-complementary
#4A72CF #CF644A #B4CF4A
monochromatic
#213D7D #2E54AE #4A72CF #7A98DC #ABBDE9

Accessibility & contrast

On white

4.57
#4A72CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4A72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A72CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A72CF#FFFFFF#000000##000000
##4A72CF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#2E70CD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4a72cf;
/* rgb */ color: rgb(74, 114, 207);
/* oklch */ color: oklch(57.0% 0.150 264.6);
Tailwind
colors: {
  custom: {
    50: '#899ade',
    500: '#4a72cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a72cf;
$custom-light: #899ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4a72cf",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 221.955,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.15025,
    "h": 264.6
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#4A72CF
secondary
#D6C69F
accent
#B346E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A72CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4A72CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva