#4A7ACA#4A7ACA

#4A7ACA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.134 H 260.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4A7ACA
RGBrgb(74, 122, 202)
HSLhsl(218, 55%, 54%)
HSVhsv(218, 63%, 79%)
CMYKcmyk(63.4%, 39.6%, 0%, 20.8%)
CIE-LABlab(51.42, 8.94, -46.41)
CIE-LCHlch(51.42, 47.27, 280.90°)
OKLaboklab(58.39% -0.0231 -0.132)
OKLCHoklch(58.39% 0.134 260.1)
XYZxyz(20.4405, 19.6373, 58.5788)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ACA #CA9A4A
analogous
#4ABACA #4A7ACA #5A4ACA
triadic
#4A7ACA #CA4A7A #7ACA4A
tetradic
#4A7ACA #CA4ABA #CA9A4A #4ACA5A
square
#4A7ACA #CA4ABA #CA9A4A #4ACA5A
split-complementary
#4A7ACA #CA5A4A #BACA4A
monochromatic
#234277 #315DA6 #4A7ACA #799DD8 #A9C0E6

Accessibility & contrast

On white

4.26
#4A7ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4A7ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ACA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ACA#FFFFFF#000000##000000
##4A7ACA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a7aca;
/* rgb */ color: rgb(74, 122, 202);
/* oklch */ color: oklch(58.4% 0.134 260.1);
Tailwind
colors: {
  custom: {
    50: '#88a0da',
    500: '#4a7aca',
    950: '#000000',
  },
}
SCSS
$custom: #4a7aca;
$custom-light: #88a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7aca",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 202
  },
  "hsl": {
    "h": 217.5,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.13405,
    "h": 260.1
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#4A7ACA
secondary
#D3BF9D
accent
#A64ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A7ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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