#4581E2#4581E2

#4581E2 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.160 H 259.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4581E2
RGBrgb(69, 129, 226)
HSLhsl(217, 73%, 58%)
HSVhsv(217, 69%, 89%)
CMYKcmyk(69.5%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.51, 12.24, -55.07)
CIE-LCHlch(54.51, 56.42, 282.53°)
OKLaboklab(61.15% -0.029 -0.1574)
OKLCHoklch(61.15% 0.16 259.6)
XYZxyz(24.0270, 22.4542, 75.0046)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4581E2 #E2A645
analogous
#45CFE2 #4581E2 #5745E2
triadic
#4581E2 #E24581 #81E245
tetradic
#4581E2 #E245CF #E2A645 #45E257
square
#4581E2 #E245CF #E2A645 #45E257
split-complementary
#4581E2 #E25745 #CFE245
monochromatic
#174795 #2061CA #4581E2 #7AA5EA #AFC9F3

Accessibility & contrast

On white

3.82
#4581E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4581E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4581E2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4581E2#FFFFFF#000000##000000
##4581E21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#367CE0
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4581e2;
/* rgb */ color: rgb(69, 129, 226);
/* oklch */ color: oklch(61.2% 0.160 259.6);
Tailwind
colors: {
  custom: {
    50: '#8aa5ec',
    500: '#4581e2',
    950: '#000000',
  },
}
SCSS
$custom: #4581e2;
$custom-light: #8aa5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4581e2",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 217.07,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.16007,
    "h": 259.6
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#4581E2
secondary
#E1C9A2
accent
#AA38F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4581E2

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

Preview Lab → · Contrast checker → · Palette generator →

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