#4A66CD#4A66CD

#4A66CD is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.4% C 0.162 H 269.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4A66CD
RGBrgb(74, 102, 205)
HSLhsl(227, 57%, 55%)
HSVhsv(227, 64%, 80%)
CMYKcmyk(63.9%, 50.2%, 0%, 19.6%)
CIE-LABlab(46.13, 22.44, -56.60)
CIE-LCHlch(46.13, 60.89, 291.63°)
OKLaboklab(54.39% -0.0028 -0.1622)
OKLCHoklch(54.39% 0.162 269)
XYZxyz(18.5911, 15.3647, 59.7317)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A66CD #CDB14A
analogous
#4AA7CD #4A66CD #704ACD
triadic
#4A66CD #CD4A66 #66CD4A
tetradic
#4A66CD #CD4AA7 #CDB14A #4ACD70
square
#4A66CD #CD4AA7 #CDB14A #4ACD70
split-complementary
#4A66CD #CD704A #A7CD4A
monochromatic
#22357B #2F4AAB #4A66CD #7A8FDA #AAB7E7

Accessibility & contrast

On white

5.16
#4A66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#4A66CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A66CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A66CD#FFFFFF#000000##FFFFFF
##4A66CD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#0168CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a66cd;
/* rgb */ color: rgb(74, 102, 205);
/* oklch */ color: oklch(54.4% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#8991dd',
    500: '#4a66cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a66cd;
$custom-light: #8991dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a66cd",
  "rgb": {
    "r": 74,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 227.176,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54387,
    "c": 0.16226,
    "h": 269
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#4A66CD
secondary
#D5C99E
accent
#BF48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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