#4581E8#4581E8

#4581E8 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.168 H 260.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4581E8
RGBrgb(69, 129, 232)
HSLhsl(218, 78%, 59%)
HSVhsv(218, 70%, 91%)
CMYKcmyk(70.3%, 44.4%, 0%, 9%)
CIE-LABlab(54.85, 14.37, -57.87)
CIE-LCHlch(54.85, 59.63, 283.95°)
OKLaboklab(61.54% -0.0279 -0.1656)
OKLCHoklch(61.54% 0.168 260.4)
XYZxyz(24.8648, 22.7893, 79.4166)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4581E8 #E8AC45
analogous
#45D3E8 #4581E8 #5B45E8
triadic
#4581E8 #E84581 #81E845
tetradic
#4581E8 #E845D3 #E8AC45 #45E85B
square
#4581E8 #E845D3 #E8AC45 #45E85B
split-complementary
#4581E8 #E85B45 #D3E845
monochromatic
#14479F #1A5FD5 #4581E8 #7BA6EF #B2CBF5

Accessibility & contrast

On white

3.78
#4581E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4581E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4581E8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4581E8#FFFFFF#000000##000000
##4581E81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#2E7CE6
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4581e8;
/* rgb */ color: rgb(69, 129, 232);
/* oklch */ color: oklch(61.5% 0.168 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ba5f0',
    500: '#4581e8',
    950: '#000000',
  },
}
SCSS
$custom: #4581e8;
$custom-light: #8ba5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4581e8",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 217.914,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.16797,
    "h": 260.4
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#4581E8
secondary
#E4CDA4
accent
#AD33F4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #4581E8

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

Preview Lab → · Contrast checker → · Palette generator →

#4581E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva