#4A6FCF#4A6FCF

#4A6FCF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.4% C 0.154 H 265.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4A6FCF
RGBrgb(74, 111, 207)
HSLhsl(223, 58%, 55%)
HSVhsv(223, 64%, 81%)
CMYKcmyk(64.3%, 46.4%, 0%, 18.8%)
CIE-LABlab(48.67, 17.48, -53.66)
CIE-LCHlch(48.67, 56.44, 288.05°)
OKLaboklab(56.36% -0.0112 -0.1535)
OKLCHoklch(56.36% 0.154 265.8)
XYZxyz(19.7671, 17.3279, 61.3223)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6FCF #CFAA4A
analogous
#4AB2CF #4A6FCF #674ACF
triadic
#4A6FCF #CF4A6F #6FCF4A
tetradic
#4A6FCF #CF4AB2 #CFAA4A #4ACF67
square
#4A6FCF #CF4AB2 #CFAA4A #4ACF67
split-complementary
#4A6FCF #CF674A #B2CF4A
monochromatic
#213B7D #2E52AE #4A6FCF #7A95DC #ABBCE9

Accessibility & contrast

On white

4.70
#4A6FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4A6FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6FCF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6FCF#FFFFFF#000000##FFFFFF
##4A6FCF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#266ECD
Tritanopia (blue-blind)
#008595
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a6fcf;
/* rgb */ color: rgb(74, 111, 207);
/* oklch */ color: oklch(56.4% 0.154 265.8);
Tailwind
colors: {
  custom: {
    50: '#8997de',
    500: '#4a6fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4a6fcf;
$custom-light: #8997de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6fcf",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 223.308,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.15388,
    "h": 265.8
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#4A6FCF
secondary
#D6C79F
accent
#B646E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4A6FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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