#4A7BEF#4A7BEF

#4A7BEF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.0% C 0.183 H 264.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4A7BEF
RGBrgb(74, 123, 239)
HSLhsl(222, 84%, 61%)
HSVhsv(222, 69%, 94%)
CMYKcmyk(69%, 48.5%, 0%, 6.3%)
CIE-LABlab(53.87, 21.24, -63.34)
CIE-LCHlch(53.87, 66.81, 288.54°)
OKLaboklab(60.97% -0.0178 -0.1818)
OKLCHoklch(60.97% 0.183 264.4)
XYZxyz(25.4815, 21.8512, 84.5194)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BEF #EFBE4A
analogous
#4ACDEF #4A7BEF #6C4AEF
triadic
#4A7BEF #EF4A7B #7BEF4A
tetradic
#4A7BEF #EF4ACD #EFBE4A #4AEF6C
square
#4A7BEF #EF4ACD #EFBE4A #4AEF6C
split-complementary
#4A7BEF #EF6C4A #CDEF4A
monochromatic
#0F3FAF #1453E7 #4A7BEF #82A4F4 #BACDF9

Accessibility & contrast

On white

3.91
#4A7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4A7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BEF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BEF#FFFFFF#000000##000000
##4A7BEF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7bef;
/* rgb */ color: rgb(74, 123, 239);
/* oklch */ color: oklch(61.0% 0.183 264.4);
Tailwind
colors: {
  custom: {
    50: '#8fa0f5',
    500: '#4a7bef',
    950: '#000000',
  },
}
SCSS
$custom: #4a7bef;
$custom-light: #8fa0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7bef",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 222.182,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.18264,
    "h": 264.4
  },
  "luminance": 0.21854
}

Semantic roles & 50–950 ramp

primary
#4A7BEF
secondary
#E9D7AC
accent
#9F05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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