#4A7DC9#4A7DC9

#4A7DC9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.129 H 258.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4A7DC9
RGBrgb(74, 125, 201)
HSLhsl(216, 54%, 54%)
HSVhsv(216, 63%, 79%)
CMYKcmyk(63.2%, 37.8%, 0%, 21.2%)
CIE-LABlab(52.22, 6.77, -44.59)
CIE-LCHlch(52.22, 45.10, 278.63°)
OKLaboklab(58.99% -0.0265 -0.1267)
OKLCHoklch(58.99% 0.129 258.2)
XYZxyz(20.6965, 20.3382, 58.0820)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DC9 #C9964A
analogous
#4ABDC9 #4A7DC9 #574AC9
triadic
#4A7DC9 #C94A7D #7DC94A
tetradic
#4A7DC9 #C94ABD #C9964A #4AC957
square
#4A7DC9 #C94ABD #C9964A #4AC957
split-complementary
#4A7DC9 #C9574A #BDC94A
monochromatic
#234476 #3160A5 #4A7DC9 #799FD7 #A8C1E5

Accessibility & contrast

On white

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

On black

5.07
#4A7DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DC9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DC9#FFFFFF#000000##000000
##4A7DC91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7dc9;
/* rgb */ color: rgb(74, 125, 201);
/* oklch */ color: oklch(59.0% 0.129 258.2);
Tailwind
colors: {
  custom: {
    50: '#88a2da',
    500: '#4a7dc9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dc9;
$custom-light: #88a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dc9",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 215.906,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.12938,
    "h": 258.2
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#4A7DC9
secondary
#D2BD9C
accent
#A24ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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