#4581E5#4581E5

#4581E5 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.3% C 0.164 H 260.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4581E5
RGBrgb(69, 129, 229)
HSLhsl(218, 75%, 58%)
HSVhsv(218, 70%, 90%)
CMYKcmyk(69.9%, 43.7%, 0%, 10.2%)
CIE-LABlab(54.68, 13.31, -56.47)
CIE-LCHlch(54.68, 58.02, 283.26°)
OKLaboklab(61.34% -0.0284 -0.1615)
OKLCHoklch(61.34% 0.164 260)
XYZxyz(24.4423, 22.6203, 77.1916)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4581E5 #E5A945
analogous
#45D1E5 #4581E5 #5945E5
triadic
#4581E5 #E54581 #81E545
tetradic
#4581E5 #E545D1 #E5A945 #45E559
square
#4581E5 #E545D1 #E5A945 #45E559
split-complementary
#4581E5 #E55945 #D1E545
monochromatic
#16479A #1D60D0 #4581E5 #7BA5ED #B0CAF4

Accessibility & contrast

On white

3.80
#4581E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4581E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4581E5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4581E5#FFFFFF#000000##000000
##4581E51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#327CE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4581e5;
/* rgb */ color: rgb(69, 129, 229);
/* oklch */ color: oklch(61.3% 0.164 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ba5ee',
    500: '#4581e5',
    950: '#000000',
  },
}
SCSS
$custom: #4581e5;
$custom-light: #8ba5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4581e5",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 217.5,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.16402,
    "h": 260
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#4581E5
secondary
#E3CBA3
accent
#AB36F2
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4581E5

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

Preview Lab → · Contrast checker → · Palette generator →

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