#4A7DDF#4A7DDF

#4A7DDF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.159 H 262.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4A7DDF
RGBrgb(74, 125, 223)
HSLhsl(219, 70%, 58%)
HSVhsv(219, 67%, 87%)
CMYKcmyk(66.8%, 43.9%, 0%, 12.5%)
CIE-LABlab(53.44, 14.40, -55.09)
CIE-LCHlch(53.44, 56.94, 284.65°)
OKLaboklab(60.33% -0.022 -0.1574)
OKLCHoklch(60.33% 0.159 262.1)
XYZxyz(23.4722, 21.4485, 72.7007)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DDF #DFAC4A
analogous
#4AC7DF #4A7DDF #614ADF
triadic
#4A7DDF #DF4A7D #7DDF4A
tetradic
#4A7DDF #DF4AC7 #DFAC4A #4ADF61
square
#4A7DDF #DF4AC7 #DFAC4A #4ADF61
split-complementary
#4A7DDF #DF614A #C7DF4A
monochromatic
#1A4494 #235CC8 #4A7DDF #7EA2E8 #B2C8F1

Accessibility & contrast

On white

3.97
#4A7DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4A7DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DDF#FFFFFF#000000##000000
##4A7DDF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7ddf;
/* rgb */ color: rgb(74, 125, 223);
/* oklch */ color: oklch(60.3% 0.159 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca2e9',
    500: '#4a7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ddf;
$custom-light: #8ca2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ddf",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 219.463,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.15898,
    "h": 262.1
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#4A7DDF
secondary
#E0CCA5
accent
#B03BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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