#4A8AFA#4A8AFA

#4A8AFA is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.180 H 260.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4A8AFA
RGBrgb(74, 138, 250)
HSLhsl(218, 95%, 64%)
HSVhsv(218, 70%, 98%)
CMYKcmyk(70.4%, 44.8%, 0%, 2%)
CIE-LABlab(58.54, 15.94, -61.93)
CIE-LCHlch(58.54, 63.95, 284.44°)
OKLaboklab(64.77% -0.029 -0.1774)
OKLCHoklch(64.77% 0.18 260.7)
XYZxyz(29.1616, 26.5318, 94.0082)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8AFA #FABA4A
analogous
#4AE2FA #4A8AFA #624AFA
triadic
#4A8AFA #FA4A8A #8AFA4A
tetradic
#4A8AFA #FA4AE2 #FABA4A #4AFA62
square
#4A8AFA #FA4AE2 #FABA4A #4AFA62
split-complementary
#4A8AFA #FA624A #E2FA4A
monochromatic
#054BC4 #0E64F8 #4A8AFA #86B0FC #C1D7FD

Accessibility & contrast

On white

3.33
#4A8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#4A8AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8AFA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8AFA#FFFFFF#000000##000000
##4A8AFA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FE
Deuteranopia (green-blind)
#2D85F8
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #4a8afa;
/* rgb */ color: rgb(74, 138, 250);
/* oklch */ color: oklch(64.8% 0.180 260.7);
Tailwind
colors: {
  custom: {
    50: '#90abfc',
    500: '#4a8afa',
    950: '#000000',
  },
}
SCSS
$custom: #4a8afa;
$custom-light: #90abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8afa",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 218.182,
    "s": 94.624,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.17972,
    "h": 260.7
  },
  "luminance": 0.26535
}

Semantic roles & 50–950 ramp

primary
#4A8AFA
secondary
#EFD8B1
accent
#9200E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1018
muted
#7E7F86

Preview Lab

Preview with #4A8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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