#4A7CCE#4A7CCE

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

Color values

HEX#4A7CCE
RGBrgb(74, 124, 206)
HSLhsl(217, 57%, 55%)
HSVhsv(217, 64%, 81%)
CMYKcmyk(64.1%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.20, 9.10, -47.45)
CIE-LCHlch(52.20, 48.32, 280.85°)
OKLaboklab(59.07% -0.0243 -0.135)
OKLCHoklch(59.07% 0.137 259.8)
XYZxyz(21.1683, 20.3254, 61.1882)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CCE #CE9C4A
analogous
#4ABECE #4A7CCE #5A4ACE
triadic
#4A7CCE #CE4A7C #7CCE4A
tetradic
#4A7CCE #CE4ABE #CE9C4A #4ACE5A
square
#4A7CCE #CE4ABE #CE9C4A #4ACE5A
split-complementary
#4A7CCE #CE5A4A #BECE4A
monochromatic
#22447C #2F5EAC #4A7CCE #7A9FDB #AAC2E8

Accessibility & contrast

On white

4.15
#4A7CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7CCE#FFFFFF#000000##000000
##4A7CCE1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7cce;
/* rgb */ color: rgb(74, 124, 206);
/* oklch */ color: oklch(59.1% 0.137 259.8);
Tailwind
colors: {
  custom: {
    50: '#89a1dd',
    500: '#4a7cce',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cce;
$custom-light: #89a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cce",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 217.273,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.13722,
    "h": 259.8
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#4A7CCE
secondary
#D6C19E
accent
#A747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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