#507BC3#507BC3

#507BC3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.121 H 260.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#507BC3
RGBrgb(80, 123, 195)
HSLhsl(218, 49%, 54%)
HSVhsv(218, 59%, 76%)
CMYKcmyk(59%, 36.9%, 0%, 23.5%)
CIE-LABlab(51.62, 7.10, -42.09)
CIE-LCHlch(51.62, 42.68, 279.57°)
OKLaboklab(58.5% -0.0206 -0.1193)
OKLCHoklch(58.5% 0.121 260.2)
XYZxyz(20.2381, 19.8098, 54.3763)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BC3 #C39850
analogous
#50B5C3 #507BC3 #5F50C3
triadic
#507BC3 #C3507B #7BC350
tetradic
#507BC3 #C350B5 #C39850 #50C35F
square
#507BC3 #C350B5 #C39850 #50C35F
split-complementary
#507BC3 #C35F50 #B5C350
monochromatic
#274372 #375E9F #507BC3 #7E9DD3 #ABC0E2

Accessibility & contrast

On white

4.23
#507BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#507BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BC3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BC3#FFFFFF#000000##000000
##507BC31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C6
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507bc3;
/* rgb */ color: rgb(80, 123, 195);
/* oklch */ color: oklch(58.5% 0.121 260.2);
Tailwind
colors: {
  custom: {
    50: '#8aa0d5',
    500: '#507bc3',
    950: '#000000',
  },
}
SCSS
$custom: #507bc3;
$custom-light: #8aa0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#507bc3",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 217.565,
    "s": 48.936,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.12104,
    "h": 260.2
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#507BC3
secondary
#D0BE9F
accent
#A54FD8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #507BC3

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

Preview Lab → · Contrast checker → · Palette generator →

#507BC3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva