#4A66CC#4A66CC

#4A66CC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.161 H 269.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A66CC
RGBrgb(74, 102, 204)
HSLhsl(227, 56%, 55%)
HSVhsv(227, 64%, 80%)
CMYKcmyk(63.7%, 50%, 0%, 20%)
CIE-LABlab(46.06, 22.09, -56.13)
CIE-LCHlch(46.06, 60.33, 291.48°)
OKLaboklab(54.32% -0.0029 -0.1609)
OKLCHoklch(54.32% 0.161 269)
XYZxyz(18.4708, 15.3166, 59.0980)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A66CC #CCB04A
analogous
#4AA7CC #4A66CC #6F4ACC
triadic
#4A66CC #CC4A66 #66CC4A
tetradic
#4A66CC #CC4AA7 #CCB04A #4ACC6F
square
#4A66CC #CC4AA7 #CCB04A #4ACC6F
split-complementary
#4A66CC #CC6F4A #A7CC4A
monochromatic
#223579 #304AA9 #4A66CC #7A8ED9 #A9B7E7

Accessibility & contrast

On white

5.17
#4A66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4A66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A66CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A66CC#FFFFFF#000000##FFFFFF
##4A66CC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#0668CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a66cc;
/* rgb */ color: rgb(74, 102, 204);
/* oklch */ color: oklch(54.3% 0.161 269.0);
Tailwind
colors: {
  custom: {
    50: '#8991dc',
    500: '#4a66cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a66cc;
$custom-light: #8991dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a66cc",
  "rgb": {
    "r": 74,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 227.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.16089,
    "h": 269
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#4A66CC
secondary
#D4C99D
accent
#BF48DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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