#507CBB#507CBB

#507CBB is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.3% C 0.109 H 257.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#507CBB
RGBrgb(80, 124, 187)
HSLhsl(215, 44%, 52%)
HSVhsv(215, 57%, 73%)
CMYKcmyk(57.2%, 33.7%, 0%, 26.7%)
CIE-LABlab(51.50, 3.84, -37.69)
CIE-LCHlch(51.50, 37.88, 275.82°)
OKLaboklab(58.28% -0.0238 -0.1064)
OKLCHoklch(58.28% 0.109 257.4)
XYZxyz(19.4824, 19.7070, 49.7812)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CBB #BB8F50
analogous
#50B2BB #507CBB #5950BB
triadic
#507CBB #BB507C #7CBB50
tetradic
#507CBB #BB50B2 #BB8F50 #50BB59
square
#507CBB #BB50B2 #BB8F50 #50BB59
split-complementary
#507CBB #BB5950 #B2BB50
monochromatic
#284368 #3A5F94 #507CBB #7C9DCC #A8BEDD

Accessibility & contrast

On white

4.25
#507CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#507CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CBB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CBB#FFFFFF#000000##000000
##507CBB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #507cbb;
/* rgb */ color: rgb(80, 124, 187);
/* oklch */ color: oklch(58.3% 0.109 257.4);
Tailwind
colors: {
  custom: {
    50: '#89a1d0',
    500: '#507cbb',
    950: '#000000',
  },
}
SCSS
$custom: #507cbb;
$custom-light: #89a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#507cbb",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 215.327,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.10904,
    "h": 257.4
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#507CBB
secondary
#CBB89C
accent
#9F54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #507CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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