#4A7BCC#4A7BCC

#4A7BCC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.136 H 259.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A7BCC
RGBrgb(74, 123, 204)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 64%, 80%)
CMYKcmyk(63.7%, 39.7%, 0%, 20%)
CIE-LABlab(51.81, 9.02, -46.93)
CIE-LCHlch(51.81, 47.79, 280.88°)
OKLaboklab(58.73% -0.0237 -0.1335)
OKLCHoklch(58.73% 0.136 259.9)
XYZxyz(20.8022, 19.9794, 59.8752)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BCC #CC9B4A
analogous
#4ABCCC #4A7BCC #5A4ACC
triadic
#4A7BCC #CC4A7B #7BCC4A
tetradic
#4A7BCC #CC4ABC #CC9B4A #4ACC5A
square
#4A7BCC #CC4ABC #CC9B4A #4ACC5A
split-complementary
#4A7BCC #CC5A4A #BCCC4A
monochromatic
#224379 #305DA9 #4A7BCC #7A9ED9 #A9C1E7

Accessibility & contrast

On white

4.20
#4A7BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4A7BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BCC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BCC#FFFFFF#000000##000000
##4A7BCC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7bcc;
/* rgb */ color: rgb(74, 123, 204);
/* oklch */ color: oklch(58.7% 0.136 259.9);
Tailwind
colors: {
  custom: {
    50: '#89a0dc',
    500: '#4a7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bcc;
$custom-light: #89a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bcc",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 217.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.13564,
    "h": 259.9
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

primary
#4A7BCC
secondary
#D4C09D
accent
#A648DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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