#4A7CDB#4A7CDB

#4A7CDB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.155 H 261.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A7CDB
RGBrgb(74, 124, 219)
HSLhsl(219, 67%, 57%)
HSVhsv(219, 66%, 86%)
CMYKcmyk(66.2%, 43.4%, 0%, 14.1%)
CIE-LABlab(52.93, 13.62, -53.65)
CIE-LCHlch(52.93, 55.35, 284.24°)
OKLaboklab(59.86% -0.0217 -0.1532)
OKLCHoklch(59.86% 0.155 261.9)
XYZxyz(22.8134, 20.9834, 69.8520)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CDB #DBA94A
analogous
#4AC5DB #4A7CDB #604ADB
triadic
#4A7CDB #DB4A7C #7CDB4A
tetradic
#4A7CDB #DB4AC5 #DBA94A #4ADB60
square
#4A7CDB #DB4AC5 #DBA94A #4ADB60
split-complementary
#4A7CDB #DB604A #C5DB4A
monochromatic
#1C448E #265CC1 #4A7CDB #7DA1E5 #B0C6EF

Accessibility & contrast

On white

4.04
#4A7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4A7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CDB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CDB#FFFFFF#000000##000000
##4A7CDB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7cdb;
/* rgb */ color: rgb(74, 124, 219);
/* oklch */ color: oklch(59.9% 0.155 261.9);
Tailwind
colors: {
  custom: {
    50: '#8ba1e7',
    500: '#4a7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cdb;
$custom-light: #8ba1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cdb",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 219.31,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.15476,
    "h": 261.9
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#4A7CDB
secondary
#DEC9A3
accent
#AF3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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