#4A7FCE#4A7FCE

#4A7FCE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.134 H 258.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4A7FCE
RGBrgb(74, 127, 206)
HSLhsl(216, 57%, 55%)
HSVhsv(216, 64%, 81%)
CMYKcmyk(64.1%, 38.3%, 0%, 19.2%)
CIE-LABlab(53.05, 7.27, -46.11)
CIE-LCHlch(53.05, 46.68, 278.96°)
OKLaboklab(59.72% -0.0273 -0.1311)
OKLCHoklch(59.72% 0.134 258.2)
XYZxyz(21.5500, 21.0888, 61.3154)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FCE #CE994A
analogous
#4AC1CE #4A7FCE #574ACE
triadic
#4A7FCE #CE4A7F #7FCE4A
tetradic
#4A7FCE #CE4AC1 #CE994A #4ACE57
square
#4A7FCE #CE4AC1 #CE994A #4ACE57
split-complementary
#4A7FCE #CE574A #C1CE4A
monochromatic
#22467C #2F61AC #4A7FCE #7AA1DB #AAC3E8

Accessibility & contrast

On white

4.02
#4A7FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4A7FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FCE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FCE#FFFFFF#000000##000000
##4A7FCE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D1
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7fce;
/* rgb */ color: rgb(74, 127, 206);
/* oklch */ color: oklch(59.7% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#89a3dd',
    500: '#4a7fce',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fce;
$custom-light: #89a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fce",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 215.909,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.13391,
    "h": 258.2
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

primary
#4A7FCE
secondary
#D6BF9E
accent
#A347E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A7FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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