#4A7FCF#4A7FCF

#4A7FCF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.135 H 258.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A7FCF
RGBrgb(74, 127, 207)
HSLhsl(216, 58%, 55%)
HSVhsv(216, 64%, 81%)
CMYKcmyk(64.3%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.10, 7.62, -46.59)
CIE-LCHlch(53.10, 47.21, 279.29°)
OKLaboklab(59.78% -0.0271 -0.1325)
OKLCHoklch(59.78% 0.135 258.4)
XYZxyz(21.6719, 21.1375, 61.9572)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FCF #CF9A4A
analogous
#4AC2CF #4A7FCF #574ACF
triadic
#4A7FCF #CF4A7F #7FCF4A
tetradic
#4A7FCF #CF4AC2 #CF9A4A #4ACF57
square
#4A7FCF #CF4AC2 #CF9A4A #4ACF57
split-complementary
#4A7FCF #CF574A #C2CF4A
monochromatic
#21467D #2E61AE #4A7FCF #7AA1DC #ABC3E9

Accessibility & contrast

On white

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

On black

5.23
#4A7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FCF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FCF#FFFFFF#000000##000000
##4A7FCF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4879CD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7fcf;
/* rgb */ color: rgb(74, 127, 207);
/* oklch */ color: oklch(59.8% 0.135 258.4);
Tailwind
colors: {
  custom: {
    50: '#89a3de',
    500: '#4a7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fcf;
$custom-light: #89a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fcf",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 216.09,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.13525,
    "h": 258.4
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#4A7FCF
secondary
#D6C09F
accent
#A446E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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