#507CCB#507CCB

#507CCB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.131 H 261.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#507CCB
RGBrgb(80, 124, 203)
HSLhsl(219, 54%, 55%)
HSVhsv(219, 61%, 80%)
CMYKcmyk(60.6%, 38.9%, 0%, 20.4%)
CIE-LABlab(52.32, 9.18, -45.54)
CIE-LCHlch(52.32, 46.46, 281.39°)
OKLaboklab(59.18% -0.0198 -0.1294)
OKLCHoklch(59.18% 0.131 261.3)
XYZxyz(21.2916, 20.4307, 59.3098)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CCB #CB9F50
analogous
#50B9CB #507CCB #6250CB
triadic
#507CCB #CB507C #7CCB50
tetradic
#507CCB #CB50B9 #CB9F50 #50CB62
square
#507CCB #CB50B9 #CB9F50 #50CB62
split-complementary
#507CCB #CB6250 #B9CB50
monochromatic
#25447C #335EAB #507CCB #7F9FD9 #AEC3E7

Accessibility & contrast

On white

4.13
#507CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#507CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CCB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CCB#FFFFFF#000000##000000
##507CCB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#4978C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507ccb;
/* rgb */ color: rgb(80, 124, 203);
/* oklch */ color: oklch(59.2% 0.131 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ba1db',
    500: '#507ccb',
    950: '#000000',
  },
}
SCSS
$custom: #507ccb;
$custom-light: #8ba1db;
$custom-dark: #000000;
JSON
{
  "hex": "#507ccb",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 218.537,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.13087,
    "h": 261.3
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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