#507BBB#507BBB

#507BBB is a mid, moderate blue. Relative luminance 0.195; OKLCH L 58.1% C 0.110 H 258.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#507BBB
RGBrgb(80, 123, 187)
HSLhsl(216, 44%, 52%)
HSVhsv(216, 57%, 73%)
CMYKcmyk(57.2%, 34.2%, 0%, 26.7%)
CIE-LABlab(51.22, 4.44, -38.14)
CIE-LCHlch(51.22, 38.40, 276.64°)
OKLaboklab(58.06% -0.0226 -0.1077)
OKLCHoklch(58.06% 0.11 258.1)
XYZxyz(19.3577, 19.4576, 49.7397)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BBB #BB9050
analogous
#50B0BB #507BBB #5B50BB
triadic
#507BBB #BB507B #7BBB50
tetradic
#507BBB #BB50B0 #BB9050 #50BB5B
square
#507BBB #BB50B0 #BB9050 #50BB5B
split-complementary
#507BBB #BB5B50 #B0BB50
monochromatic
#284268 #3A5E94 #507BBB #7C9CCC #A8BDDD

Accessibility & contrast

On white

4.29
#507BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#507BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BBB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BBB#FFFFFF#000000##000000
##507BBB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #507bbb;
/* rgb */ color: rgb(80, 123, 187);
/* oklch */ color: oklch(58.1% 0.110 258.1);
Tailwind
colors: {
  custom: {
    50: '#89a0d0',
    500: '#507bbb',
    950: '#000000',
  },
}
SCSS
$custom: #507bbb;
$custom-light: #89a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#507bbb",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 215.888,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.11009,
    "h": 258.1
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#507BBB
secondary
#CBB89C
accent
#A054D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #507BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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