#507FCB#507FCB

#507FCB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.128 H 259.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#507FCB
RGBrgb(80, 127, 203)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 80%)
CMYKcmyk(60.6%, 37.4%, 0%, 20.4%)
CIE-LABlab(53.16, 7.36, -44.21)
CIE-LCHlch(53.16, 44.82, 279.45°)
OKLaboklab(59.83% -0.023 -0.1254)
OKLCHoklch(59.83% 0.128 259.6)
XYZxyz(21.6733, 21.1941, 59.4370)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FCB #CB9C50
analogous
#50BDCB #507FCB #5E50CB
triadic
#507FCB #CB507F #7FCB50
tetradic
#507FCB #CB50BD #CB9C50 #50CB5E
square
#507FCB #CB50BD #CB9C50 #50CB5E
split-complementary
#507FCB #CB5E50 #BDCB50
monochromatic
#25467C #3361AB #507FCB #7FA2D9 #AEC4E7

Accessibility & contrast

On white

4.01
#507FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#507FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FCB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FCB#FFFFFF#000000##000000
##507FCB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #507fcb;
/* rgb */ color: rgb(80, 127, 203);
/* oklch */ color: oklch(59.8% 0.128 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ba3db',
    500: '#507fcb',
    950: '#000000',
  },
}
SCSS
$custom: #507fcb;
$custom-light: #8ba3db;
$custom-dark: #000000;
JSON
{
  "hex": "#507fcb",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 217.073,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.12753,
    "h": 259.6
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#507FCB
secondary
#D5C1A2
accent
#A54ADE
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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