#4A7CDF#4A7CDF

#4A7CDF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.160 H 262.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4A7CDF
RGBrgb(74, 124, 223)
HSLhsl(220, 70%, 58%)
HSVhsv(220, 67%, 87%)
CMYKcmyk(66.8%, 44.4%, 0%, 12.5%)
CIE-LABlab(53.16, 15.01, -55.52)
CIE-LCHlch(53.16, 57.52, 285.13°)
OKLaboklab(60.12% -0.021 -0.1587)
OKLCHoklch(60.12% 0.16 262.5)
XYZxyz(23.3463, 21.1966, 72.6587)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CDF #DFAD4A
analogous
#4AC6DF #4A7CDF #624ADF
triadic
#4A7CDF #DF4A7C #7CDF4A
tetradic
#4A7CDF #DF4AC6 #DFAD4A #4ADF62
square
#4A7CDF #DF4AC6 #DFAD4A #4ADF62
split-complementary
#4A7CDF #DF624A #C6DF4A
monochromatic
#1A4394 #235BC8 #4A7CDF #7EA2E8 #B2C7F1

Accessibility & contrast

On white

4.01
#4A7CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4A7CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CDF#FFFFFF#000000##000000
##4A7CDF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#3179DD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7cdf;
/* rgb */ color: rgb(74, 124, 223);
/* oklch */ color: oklch(60.1% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#8ca1e9',
    500: '#4a7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cdf;
$custom-light: #8ca1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cdf",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 219.866,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60119,
    "c": 0.16014,
    "h": 262.5
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#4A7CDF
secondary
#E0CCA5
accent
#B13BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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