#545FC0#545FC0

#545FC0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.150 H 275.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#545FC0
RGBrgb(84, 95, 192)
HSLhsl(234, 46%, 54%)
HSVhsv(234, 56%, 75%)
CMYKcmyk(56.3%, 50.5%, 0%, 24.7%)
CIE-LABlab(44.05, 24.30, -52.42)
CIE-LCHlch(44.05, 57.78, 294.87°)
OKLaboklab(52.7% 0.0135 -0.1498)
OKLCHoklch(52.7% 0.15 275.1)
XYZxyz(17.2597, 13.8738, 51.6274)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC0 #C0B554
analogous
#5495C0 #545FC0 #7F54C0
triadic
#545FC0 #C0545F #5FC054
tetradic
#545FC0 #C05495 #C0B554 #54C07F
square
#545FC0 #C05495 #C0B554 #54C07F
split-complementary
#545FC0 #C07F54 #95C054
monochromatic
#293170 #3A449D #545FC0 #8189D0 #ADB3E1

Accessibility & contrast

On white

5.56
#545FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#545FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC0#FFFFFF#000000##FFFFFF
##545FC01.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#1B64BE
Tritanopia (blue-blind)
#167586
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #545fc0;
/* rgb */ color: rgb(84, 95, 192);
/* oklch */ color: oklch(52.7% 0.150 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d8cd4',
    500: '#545fc0',
    950: '#000000',
  },
}
SCSS
$custom: #545fc0;
$custom-light: #8d8cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc0",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 233.889,
    "s": 46.154,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.15038,
    "h": 275.1
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#545FC0
secondary
#CFCAA1
accent
#C852D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FC0

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

Preview Lab → · Contrast checker → · Palette generator →

#545FC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva