#4A7DCB#4A7DCB

#4A7DCB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.1% C 0.132 H 258.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4A7DCB
RGBrgb(74, 125, 203)
HSLhsl(216, 55%, 54%)
HSVhsv(216, 64%, 80%)
CMYKcmyk(63.5%, 38.4%, 0%, 20.4%)
CIE-LABlab(52.32, 7.45, -45.56)
CIE-LCHlch(52.32, 46.16, 279.29°)
OKLaboklab(59.11% -0.026 -0.1295)
OKLCHoklch(59.11% 0.132 258.7)
XYZxyz(20.9333, 20.4329, 59.3291)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DCB #CB984A
analogous
#4ABECB #4A7DCB #584ACB
triadic
#4A7DCB #CB4A7D #7DCB4A
tetradic
#4A7DCB #CB4ABE #CB984A #4ACB58
square
#4A7DCB #CB4ABE #CB984A #4ACB58
split-complementary
#4A7DCB #CB584A #BECB4A
monochromatic
#234478 #305FA8 #4A7DCB #7A9FD9 #A9C1E6

Accessibility & contrast

On white

4.13
#4A7DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4A7DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DCB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DCB#FFFFFF#000000##000000
##4A7DCB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CE
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7dcb;
/* rgb */ color: rgb(74, 125, 203);
/* oklch */ color: oklch(59.1% 0.132 258.7);
Tailwind
colors: {
  custom: {
    50: '#88a2db',
    500: '#4a7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dcb;
$custom-light: #88a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dcb",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 216.279,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.13207,
    "h": 258.7
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#4A7DCB
secondary
#D4BE9D
accent
#A449DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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