#5183F2#5183F2

#5183F2 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.1% C 0.175 H 263.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5183F2
RGBrgb(81, 131, 242)
HSLhsl(221, 86%, 63%)
HSVhsv(221, 67%, 95%)
CMYKcmyk(66.5%, 45.9%, 0%, 5.1%)
CIE-LABlab(56.48, 18.43, -60.80)
CIE-LCHlch(56.48, 63.53, 286.86°)
OKLaboklab(63.11% -0.0187 -0.174)
OKLCHoklch(63.11% 0.175 263.9)
XYZxyz(27.5310, 24.3900, 87.2440)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5183F2 #F2C051
analogous
#51D4F2 #5183F2 #6F51F2
triadic
#5183F2 #F25183 #83F251
tetradic
#5183F2 #F251D4 #F2C051 #51F26F
square
#5183F2 #F251D4 #F2C051 #51F26F
split-complementary
#5183F2 #F26F51 #D4F251
monochromatic
#0E44BB #185AEE #5183F2 #8AACF6 #C3D4FB

Accessibility & contrast

On white

3.57
#5183F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5183F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5183F2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5183F2#FFFFFF#000000##000000
##5183F21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF6
Deuteranopia (green-blind)
#2A81F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5183f2;
/* rgb */ color: rgb(81, 131, 242);
/* oklch */ color: oklch(63.1% 0.175 263.9);
Tailwind
colors: {
  custom: {
    50: '#92a6f7',
    500: '#5183f2',
    950: '#000000',
  },
}
SCSS
$custom: #5183f2;
$custom-light: #92a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5183f2",
  "rgb": {
    "r": 81,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 221.366,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.17505,
    "h": 263.9
  },
  "luminance": 0.24393
}

Semantic roles & 50–950 ramp

primary
#5183F2
secondary
#ECDAB3
accent
#9D03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5183F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5183F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva