#4A7FCA#4A7FCA

#4A7FCA is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.129 H 257.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4A7FCA
RGBrgb(74, 127, 202)
HSLhsl(215, 55%, 54%)
HSVhsv(215, 63%, 79%)
CMYKcmyk(63.4%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.84, 5.90, -44.17)
CIE-LCHlch(52.84, 44.57, 277.61°)
OKLaboklab(59.49% -0.0283 -0.1254)
OKLCHoklch(59.49% 0.129 257.3)
XYZxyz(21.0703, 20.8969, 58.7888)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FCA #CA954A
analogous
#4ABFCA #4A7FCA #554ACA
triadic
#4A7FCA #CA4A7F #7FCA4A
tetradic
#4A7FCA #CA4ABF #CA954A #4ACA55
square
#4A7FCA #CA4ABF #CA954A #4ACA55
split-complementary
#4A7FCA #CA554A #BFCA4A
monochromatic
#234677 #3161A6 #4A7FCA #79A0D8 #A9C2E6

Accessibility & contrast

On white

4.05
#4A7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4A7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FCA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FCA#FFFFFF#000000##000000
##4A7FCA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CD
Deuteranopia (green-blind)
#4C79C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7fca;
/* rgb */ color: rgb(74, 127, 202);
/* oklch */ color: oklch(59.5% 0.129 257.3);
Tailwind
colors: {
  custom: {
    50: '#88a3da',
    500: '#4a7fca',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fca;
$custom-light: #88a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fca",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 215.156,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.12857,
    "h": 257.3
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#4A7FCA
secondary
#D3BD9D
accent
#A14ADE
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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