#506DDF#506DDF

#506DDF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.4% C 0.176 H 269.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#506DDF
RGBrgb(80, 109, 223)
HSLhsl(228, 69%, 59%)
HSVhsv(228, 64%, 87%)
CMYKcmyk(64.1%, 51.1%, 0%, 12.5%)
CIE-LABlab(49.46, 25.27, -61.47)
CIE-LCHlch(49.46, 66.46, 292.35°)
OKLaboklab(57.37% -0.0018 -0.1763)
OKLCHoklch(57.37% 0.176 269.4)
XYZxyz(22.0917, 17.9685, 72.1018)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506DDF #DFC250
analogous
#50B5DF #506DDF #7B50DF
triadic
#506DDF #DF506D #6DDF50
tetradic
#506DDF #DF50B5 #DFC250 #50DF7B
square
#506DDF #DF50B5 #DFC250 #50DF7B
split-complementary
#506DDF #DF7B50 #B5DF50
monochromatic
#1C3599 #2547CC #506DDF #8498E8 #B7C3F2

Accessibility & contrast

On white

4.57
#506DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#506DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506DDF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506DDF#FFFFFF#000000##000000
##506DDF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #506ddf;
/* rgb */ color: rgb(80, 109, 223);
/* oklch */ color: oklch(57.4% 0.176 269.4);
Tailwind
colors: {
  custom: {
    50: '#8f96ea',
    500: '#506ddf',
    950: '#000000',
  },
}
SCSS
$custom: #506ddf;
$custom-light: #8f96ea;
$custom-dark: #000000;
JSON
{
  "hex": "#506ddf",
  "rgb": {
    "r": 80,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 227.832,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.17634,
    "h": 269.4
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#506DDF
secondary
#E1D6AA
accent
#C83CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506DDF

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

Preview Lab → · Contrast checker → · Palette generator →

#506DDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva