#4A7DEF#4A7DEF

#4A7DEF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.4% C 0.180 H 263.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4A7DEF
RGBrgb(74, 125, 239)
HSLhsl(221, 84%, 61%)
HSVhsv(221, 69%, 94%)
CMYKcmyk(69%, 47.7%, 0%, 6.3%)
CIE-LABlab(54.40, 20.01, -62.49)
CIE-LCHlch(54.40, 65.62, 287.76°)
OKLaboklab(61.38% -0.0195 -0.1792)
OKLCHoklch(61.38% 0.18 263.8)
XYZxyz(25.7321, 22.3524, 84.6030)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DEF #EFBC4A
analogous
#4ACFEF #4A7DEF #6A4AEF
triadic
#4A7DEF #EF4A7D #7DEF4A
tetradic
#4A7DEF #EF4ACF #EFBC4A #4AEF6A
square
#4A7DEF #EF4ACF #EFBC4A #4AEF6A
split-complementary
#4A7DEF #EF6A4A #CFEF4A
monochromatic
#0F41AF #1456E7 #4A7DEF #82A5F4 #BACEF9

Accessibility & contrast

On white

3.84
#4A7DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4A7DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DEF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DEF#FFFFFF#000000##000000
##4A7DEF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#0F7BED
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4a7def;
/* rgb */ color: rgb(74, 125, 239);
/* oklch */ color: oklch(61.4% 0.180 263.8);
Tailwind
colors: {
  custom: {
    50: '#8fa2f5',
    500: '#4a7def',
    950: '#000000',
  },
}
SCSS
$custom: #4a7def;
$custom-light: #8fa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7def",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 221.455,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61376,
    "c": 0.18028,
    "h": 263.8
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#4A7DEF
secondary
#E9D6AC
accent
#9D05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4A7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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