#514BB2#514BB2

#514BB2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.158 H 281.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#514BB2
RGBrgb(81, 75, 178)
HSLhsl(243, 41%, 50%)
HSVhsv(243, 58%, 70%)
CMYKcmyk(54.5%, 57.9%, 0%, 30.2%)
CIE-LABlab(37.83, 31.66, -54.27)
CIE-LCHlch(37.83, 62.82, 300.26°)
OKLaboklab(47.7% 0.0307 -0.1555)
OKLCHoklch(47.7% 0.158 281.2)
XYZxyz(13.9428, 9.9950, 43.3054)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BB2 #ACB24B
analogous
#4B79B2 #514BB2 #854BB2
triadic
#514BB2 #B2514B #4BB251
tetradic
#514BB2 #B24B79 #ACB24B #4BB285
square
#514BB2 #B24B79 #ACB24B #4BB285
split-complementary
#514BB2 #B2854B #79B24B
monochromatic
#2A275C #3D3987 #514BB2 #7A75C5 #A3A0D7

Accessibility & contrast

On white

7.00
#514BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#514BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BB2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BB2#FFFFFF#000000##FFFFFF
##514BB21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#256377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514bb2;
/* rgb */ color: rgb(81, 75, 178);
/* oklch */ color: oklch(47.7% 0.158 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a7dca',
    500: '#514bb2',
    950: '#000000',
  },
}
SCSS
$custom: #514bb2;
$custom-light: #8a7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#514bb2",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 243.495,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47697,
    "c": 0.15846,
    "h": 281.2
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#514BB2
secondary
#C1C495
accent
#D157C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#514BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva