#4A7DCA#4A7DCA

#4A7DCA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.0% C 0.131 H 258.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4A7DCA
RGBrgb(74, 125, 202)
HSLhsl(216, 55%, 54%)
HSVhsv(216, 63%, 79%)
CMYKcmyk(63.4%, 38.1%, 0%, 20.8%)
CIE-LABlab(52.27, 7.11, -45.07)
CIE-LCHlch(52.27, 45.63, 278.97°)
OKLaboklab(59.05% -0.0262 -0.1281)
OKLCHoklch(59.05% 0.131 258.4)
XYZxyz(20.8145, 20.3854, 58.7035)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DCA #CA974A
analogous
#4ABDCA #4A7DCA #574ACA
triadic
#4A7DCA #CA4A7D #7DCA4A
tetradic
#4A7DCA #CA4ABD #CA974A #4ACA57
square
#4A7DCA #CA4ABD #CA974A #4ACA57
split-complementary
#4A7DCA #CA574A #BDCA4A
monochromatic
#234477 #315FA6 #4A7DCA #799FD8 #A9C1E6

Accessibility & contrast

On white

4.14
#4A7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4A7DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DCA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DCA#FFFFFF#000000##000000
##4A7DCA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7dca;
/* rgb */ color: rgb(74, 125, 202);
/* oklch */ color: oklch(59.0% 0.131 258.4);
Tailwind
colors: {
  custom: {
    50: '#88a2da',
    500: '#4a7dca',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dca;
$custom-light: #88a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dca",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 216.094,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59048,
    "c": 0.13073,
    "h": 258.4
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#4A7DCA
secondary
#D3BD9D
accent
#A34ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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