#507BB9#507BB9

#507BB9 is a mid, moderate blue. Relative luminance 0.194; OKLCH L 57.9% C 0.107 H 257.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#507BB9
RGBrgb(80, 123, 185)
HSLhsl(215, 43%, 52%)
HSVhsv(215, 57%, 73%)
CMYKcmyk(56.8%, 33.5%, 0%, 27.5%)
CIE-LABlab(51.12, 3.78, -37.14)
CIE-LCHlch(51.12, 37.33, 275.82°)
OKLaboklab(57.95% -0.0232 -0.1048)
OKLCHoklch(57.95% 0.107 257.5)
XYZxyz(19.1451, 19.3726, 48.6199)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BB9 #B98E50
analogous
#50AFB9 #507BB9 #5A50B9
triadic
#507BB9 #B9507B #7BB950
tetradic
#507BB9 #B950AF #B98E50 #50B95A
square
#507BB9 #B950AF #B98E50 #50B95A
split-complementary
#507BB9 #B95A50 #AFB950
monochromatic
#294266 #3A5E92 #507BB9 #7C9CCA #A7BDDC

Accessibility & contrast

On white

4.31
#507BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#507BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BB9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BB9#FFFFFF#000000##000000
##507BB91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBC
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #507bb9;
/* rgb */ color: rgb(80, 123, 185);
/* oklch */ color: oklch(57.9% 0.107 257.5);
Tailwind
colors: {
  custom: {
    50: '#89a0ce',
    500: '#507bb9',
    950: '#000000',
  },
}
SCSS
$custom: #507bb9;
$custom-light: #89a0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#507bb9",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 185
  },
  "hsl": {
    "h": 215.429,
    "s": 42.857,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57947,
    "c": 0.10737,
    "h": 257.5
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#507BB9
secondary
#C9B79B
accent
#9F55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #507BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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