#5045F0#5045F0

#5045F0 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.0% C 0.244 H 276.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5045F0
RGBrgb(80, 69, 240)
HSLhsl(244, 85%, 61%)
HSVhsv(244, 71%, 94%)
CMYKcmyk(66.7%, 71.3%, 0%, 5.9%)
CIE-LABlab(41.61, 54.70, -83.86)
CIE-LCHlch(41.61, 100.12, 303.12°)
OKLaboklab(52.01% 0.0279 -0.2423)
OKLCHoklch(52.01% 0.244 276.6)
XYZxyz(21.1594, 12.2511, 83.6708)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5045F0 #E5F045
analogous
#458FF0 #5045F0 #A645F0
triadic
#5045F0 #F05045 #45F050
tetradic
#5045F0 #F0458F #E5F045 #45F0A6
square
#5045F0 #F0458F #E5F045 #45F0A6
split-complementary
#5045F0 #F0A645 #8FF045
monochromatic
#180EAD #2012E5 #5045F0 #857EF5 #BBB6F9

Accessibility & contrast

On white

6.09
#5045F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5045F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5045F0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5045F0#FFFFFF#000000##FFFFFF
##5045F01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F5
Deuteranopia (green-blind)
#005BED
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5045f0;
/* rgb */ color: rgb(80, 69, 240);
/* oklch */ color: oklch(52.0% 0.244 276.6);
Tailwind
colors: {
  custom: {
    50: '#957bf6',
    500: '#5045f0',
    950: '#000000',
  },
}
SCSS
$custom: #5045f0;
$custom-light: #957bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5045f0",
  "rgb": {
    "r": 80,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 243.86,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.24387,
    "h": 276.6
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#5045F0
secondary
#E5E9A8
accent
#E204D3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5045F0

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

Preview Lab → · Contrast checker → · Palette generator →

#5045F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva