#4A7FDB#4A7FDB

#4A7FDB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.151 H 260.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4A7FDB
RGBrgb(74, 127, 219)
HSLhsl(218, 67%, 57%)
HSVhsv(218, 66%, 86%)
CMYKcmyk(66.2%, 42%, 0%, 14.1%)
CIE-LABlab(53.76, 11.78, -52.33)
CIE-LCHlch(53.76, 53.63, 282.69°)
OKLaboklab(60.5% -0.0246 -0.1493)
OKLCHoklch(60.5% 0.151 260.6)
XYZxyz(23.1950, 21.7468, 69.9793)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FDB #DBA64A
analogous
#4AC7DB #4A7FDB #5E4ADB
triadic
#4A7FDB #DB4A7F #7FDB4A
tetradic
#4A7FDB #DB4AC7 #DBA64A #4ADB5E
square
#4A7FDB #DB4AC7 #DBA64A #4ADB5E
split-complementary
#4A7FDB #DB5E4A #C7DB4A
monochromatic
#1C468E #265FC1 #4A7FDB #7DA3E5 #B0C7EF

Accessibility & contrast

On white

3.93
#4A7FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4A7FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FDB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FDB#FFFFFF#000000##000000
##4A7FDB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488DF
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7fdb;
/* rgb */ color: rgb(74, 127, 219);
/* oklch */ color: oklch(60.5% 0.151 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ba3e7',
    500: '#4a7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fdb;
$custom-light: #8ba3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fdb",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 218.069,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.15132,
    "h": 260.6
  },
  "luminance": 0.21749
}

Semantic roles & 50–950 ramp

primary
#4A7FDB
secondary
#DEC8A3
accent
#AB3EEA
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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