#4581DC#4581DC

#4581DC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.152 H 258.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4581DC
RGBrgb(69, 129, 220)
HSLhsl(216, 68%, 57%)
HSVhsv(216, 69%, 86%)
CMYKcmyk(68.6%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.17, 10.12, -52.25)
CIE-LCHlch(54.17, 53.22, 280.96°)
OKLaboklab(60.78% -0.0301 -0.1491)
OKLCHoklch(60.78% 0.152 258.6)
XYZxyz(23.2181, 22.1306, 70.7443)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4581DC #DCA045
analogous
#45CDDC #4581DC #5545DC
triadic
#4581DC #DC4581 #81DC45
tetradic
#4581DC #DC45CD #DCA045 #45DC55
square
#4581DC #DC45CD #DCA045 #45DC55
split-complementary
#4581DC #DC5545 #CDDC45
monochromatic
#1A488C #2462C0 #4581DC #79A4E6 #ACC7EF

Accessibility & contrast

On white

3.87
#4581DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4581DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4581DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4581DC#FFFFFF#000000##000000
##4581DC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#3E7BDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4581dc;
/* rgb */ color: rgb(69, 129, 220);
/* oklch */ color: oklch(60.8% 0.152 258.6);
Tailwind
colors: {
  custom: {
    50: '#89a5e7',
    500: '#4581dc',
    950: '#000000',
  },
}
SCSS
$custom: #4581dc;
$custom-light: #89a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4581dc",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 216.159,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.15214,
    "h": 258.6
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#4581DC
secondary
#DDC5A0
accent
#A63DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4581DC

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

Preview Lab → · Contrast checker → · Palette generator →

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