#4A7CCF#4A7CCF

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

Color values

HEX#4A7CCF
RGBrgb(74, 124, 207)
HSLhsl(217, 58%, 55%)
HSVhsv(217, 64%, 81%)
CMYKcmyk(64.3%, 40.1%, 0%, 18.8%)
CIE-LABlab(52.26, 9.44, -47.93)
CIE-LCHlch(52.26, 48.85, 281.15°)
OKLaboklab(59.13% -0.0241 -0.1365)
OKLCHoklch(59.13% 0.139 260)
XYZxyz(21.2902, 20.3741, 61.8300)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CCF #CF9D4A
analogous
#4ABECF #4A7CCF #5B4ACF
triadic
#4A7CCF #CF4A7C #7CCF4A
tetradic
#4A7CCF #CF4ABE #CF9D4A #4ACF5B
square
#4A7CCF #CF4ABE #CF9D4A #4ACF5B
split-complementary
#4A7CCF #CF5B4A #BECF4A
monochromatic
#21447D #2E5EAE #4A7CCF #7A9FDC #ABC2E9

Accessibility & contrast

On white

4.14
#4A7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4A7CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CCF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CCF#FFFFFF#000000##000000
##4A7CCF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D2
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7ccf;
/* rgb */ color: rgb(74, 124, 207);
/* oklch */ color: oklch(59.1% 0.139 260.0);
Tailwind
colors: {
  custom: {
    50: '#89a1de',
    500: '#4a7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ccf;
$custom-light: #89a1de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ccf",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 217.444,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.13857,
    "h": 260
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#4A7CCF
secondary
#D6C19F
accent
#A746E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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