#507DCB#507DCB

#507DCB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.130 H 260.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#507DCB
RGBrgb(80, 125, 203)
HSLhsl(218, 54%, 55%)
HSVhsv(218, 61%, 80%)
CMYKcmyk(60.6%, 38.4%, 0%, 20.4%)
CIE-LABlab(52.60, 8.57, -45.10)
CIE-LCHlch(52.60, 45.91, 280.76°)
OKLaboklab(59.4% -0.0209 -0.128)
OKLCHoklch(59.4% 0.13 260.7)
XYZxyz(21.4176, 20.6826, 59.3518)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DCB #CB9E50
analogous
#50BACB #507DCB #6050CB
triadic
#507DCB #CB507D #7DCB50
tetradic
#507DCB #CB50BA #CB9E50 #50CB60
square
#507DCB #CB50BA #CB9E50 #50CB60
split-complementary
#507DCB #CB6050 #BACB50
monochromatic
#25457C #335FAB #507DCB #7FA0D9 #AEC3E7

Accessibility & contrast

On white

4.09
#507DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#507DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DCB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DCB#FFFFFF#000000##000000
##507DCB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CE
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #507dcb;
/* rgb */ color: rgb(80, 125, 203);
/* oklch */ color: oklch(59.4% 0.130 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ba2db',
    500: '#507dcb',
    950: '#000000',
  },
}
SCSS
$custom: #507dcb;
$custom-light: #8ba2db;
$custom-dark: #000000;
JSON
{
  "hex": "#507dcb",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 218.049,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.12975,
    "h": 260.7
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#507DCB
secondary
#D5C2A2
accent
#A84ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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