#4A7DDB#4A7DDB

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

Color values

HEX#4A7DDB
RGBrgb(74, 125, 219)
HSLhsl(219, 67%, 57%)
HSVhsv(219, 66%, 86%)
CMYKcmyk(66.2%, 42.9%, 0%, 14.1%)
CIE-LABlab(53.21, 13.00, -53.21)
CIE-LCHlch(53.21, 54.77, 283.73°)
OKLaboklab(60.08% -0.0227 -0.1519)
OKLCHoklch(60.08% 0.154 261.5)
XYZxyz(22.9393, 21.2353, 69.8940)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DDB #DBA84A
analogous
#4AC5DB #4A7DDB #604ADB
triadic
#4A7DDB #DB4A7D #7DDB4A
tetradic
#4A7DDB #DB4AC5 #DBA84A #4ADB60
square
#4A7DDB #DB4AC5 #DBA84A #4ADB60
split-complementary
#4A7DDB #DB604A #C5DB4A
monochromatic
#1C448E #265DC1 #4A7DDB #7DA2E5 #B0C6EF

Accessibility & contrast

On white

4.00
#4A7DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4A7DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DDB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DDB#FFFFFF#000000##000000
##4A7DDB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#3879D9
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7ddb;
/* rgb */ color: rgb(74, 125, 219);
/* oklch */ color: oklch(60.1% 0.154 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba2e7',
    500: '#4a7ddb',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ddb;
$custom-light: #8ba2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ddb",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 219
  },
  "hsl": {
    "h": 218.897,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60076,
    "c": 0.15361,
    "h": 261.5
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

primary
#4A7DDB
secondary
#DEC9A3
accent
#AD3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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