#515FBA#515FBA

#515FBA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.143 H 273.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#515FBA
RGBrgb(81, 95, 186)
HSLhsl(232, 43%, 52%)
HSVhsv(232, 56%, 73%)
CMYKcmyk(56.5%, 48.9%, 0%, 27.1%)
CIE-LABlab(43.47, 21.70, -49.87)
CIE-LCHlch(43.47, 54.38, 293.51°)
OKLaboklab(52.1% 0.0095 -0.1423)
OKLCHoklch(52.1% 0.143 273.8)
XYZxyz(16.3456, 13.4777, 48.1850)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515FBA #BAAC51
analogous
#5194BA #515FBA #7851BA
triadic
#515FBA #BA515F #5FBA51
tetradic
#515FBA #BA5194 #BAAC51 #51BA78
square
#515FBA #BA5194 #BAAC51 #51BA78
split-complementary
#515FBA #BA7851 #94BA51
monochromatic
#293168 #3A4693 #515FBA #7D87CB #A9B0DD

Accessibility & contrast

On white

5.68
#515FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#515FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #515FBA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515FBA#FFFFFF#000000##FFFFFF
##515FBA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#2362B8
Tritanopia (blue-blind)
#137383
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #515fba;
/* rgb */ color: rgb(81, 95, 186);
/* oklch */ color: oklch(52.1% 0.143 273.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ccf',
    500: '#515fba',
    950: '#000000',
  },
}
SCSS
$custom: #515fba;
$custom-light: #8a8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#515fba",
  "rgb": {
    "r": 81,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 232,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.14267,
    "h": 273.8
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#515FBA
secondary
#CAC49D
accent
#C255D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #515FBA

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

Preview Lab → · Contrast checker → · Palette generator →

#515FBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva