#4A72DB#4A72DB

#4A72DB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.167 H 265.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A72DB
RGBrgb(74, 114, 219)
HSLhsl(223, 67%, 57%)
HSVhsv(223, 66%, 86%)
CMYKcmyk(66.2%, 47.9%, 0%, 14.1%)
CIE-LABlab(50.22, 19.80, -57.99)
CIE-LCHlch(50.22, 61.28, 288.85°)
OKLaboklab(57.78% -0.0124 -0.1662)
OKLCHoklch(57.78% 0.167 265.7)
XYZxyz(21.6231, 18.6029, 69.4553)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A72DB #DBB34A
analogous
#4ABBDB #4A72DB #6A4ADB
triadic
#4A72DB #DB4A72 #72DB4A
tetradic
#4A72DB #DB4ABB #DBB34A #4ADB6A
square
#4A72DB #DB4ABB #DBB34A #4ADB6A
split-complementary
#4A72DB #DB6A4A #BBDB4A
monochromatic
#1C3C8E #2651C1 #4A72DB #7D9AE5 #B0C2EF

Accessibility & contrast

On white

4.45
#4A72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4A72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A72DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A72DB#FFFFFF#000000##000000
##4A72DB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#1771D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a72db;
/* rgb */ color: rgb(74, 114, 219);
/* oklch */ color: oklch(57.8% 0.167 265.7);
Tailwind
colors: {
  custom: {
    50: '#8b9ae7',
    500: '#4a72db',
    950: '#000000',
  },
}
SCSS
$custom: #4a72db;
$custom-light: #8b9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a72db",
  "rgb": {
    "r": 74,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 223.448,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.16662,
    "h": 265.7
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#4A72DB
secondary
#DECEA3
accent
#BA3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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