#507BCB#507BCB

#507BCB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.132 H 261.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#507BCB
RGBrgb(80, 123, 203)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(60.6%, 39.4%, 0%, 20.4%)
CIE-LABlab(52.04, 9.79, -45.99)
CIE-LCHlch(52.04, 47.02, 282.02°)
OKLaboklab(58.96% -0.0188 -0.1307)
OKLCHoklch(58.96% 0.132 261.8)
XYZxyz(21.1670, 20.1813, 59.2683)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507BCB #CBA050
analogous
#50B9CB #507BCB #6250CB
triadic
#507BCB #CB507B #7BCB50
tetradic
#507BCB #CB50B9 #CBA050 #50CB62
square
#507BCB #CB50B9 #CBA050 #50CB62
split-complementary
#507BCB #CB6250 #B9CB50
monochromatic
#25437C #335DAB #507BCB #7F9FD9 #AEC2E7

Accessibility & contrast

On white

4.17
#507BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#507BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507BCB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507BCB#FFFFFF#000000##000000
##507BCB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507bcb;
/* rgb */ color: rgb(80, 123, 203);
/* oklch */ color: oklch(59.0% 0.132 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba0db',
    500: '#507bcb',
    950: '#000000',
  },
}
SCSS
$custom: #507bcb;
$custom-light: #8ba0db;
$custom-dark: #000000;
JSON
{
  "hex": "#507bcb",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 219.024,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.13201,
    "h": 261.8
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#507BCB
secondary
#D5C3A2
accent
#AA4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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