#5182F4#5182F4

#5182F4 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.0% C 0.179 H 264.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5182F4
RGBrgb(81, 130, 244)
HSLhsl(222, 88%, 64%)
HSVhsv(222, 67%, 96%)
CMYKcmyk(66.8%, 46.7%, 0%, 4.3%)
CIE-LABlab(56.33, 19.73, -62.14)
CIE-LCHlch(56.33, 65.20, 287.61°)
OKLaboklab(63.03% -0.0175 -0.178)
OKLCHoklch(63.03% 0.179 264.4)
XYZxyz(27.6994, 24.2435, 88.7901)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5182F4 #F4C351
analogous
#51D3F4 #5182F4 #7151F4
triadic
#5182F4 #F45182 #82F451
tetradic
#5182F4 #F451D3 #F4C351 #51F471
square
#5182F4 #F451D3 #F4C351 #51F471
split-complementary
#5182F4 #F47151 #D3F451
monochromatic
#0C42BF #1759F0 #5182F4 #8BABF8 #C4D5FB

Accessibility & contrast

On white

3.59
#5182F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5182F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5182F4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5182F4#FFFFFF#000000##000000
##5182F41.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478FF8
Deuteranopia (green-blind)
#2280F2
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5182f4;
/* rgb */ color: rgb(81, 130, 244);
/* oklch */ color: oklch(63.0% 0.179 264.4);
Tailwind
colors: {
  custom: {
    50: '#92a5f8',
    500: '#5182f4',
    950: '#000000',
  },
}
SCSS
$custom: #5182f4;
$custom-light: #92a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5182f4",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 244
  },
  "hsl": {
    "h": 221.963,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63034,
    "c": 0.17887,
    "h": 264.4
  },
  "luminance": 0.24246
}

Semantic roles & 50–950 ramp

primary
#5182F4
secondary
#EDDCB4
accent
#A001E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5182F4

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

Preview Lab → · Contrast checker → · Palette generator →

#5182F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva