#545FD3#545FD3

#545FD3 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.177 H 274.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#545FD3
RGBrgb(84, 95, 211)
HSLhsl(235, 59%, 58%)
HSVhsv(235, 60%, 83%)
CMYKcmyk(60.2%, 55%, 0%, 17.3%)
CIE-LABlab(45.32, 30.60, -61.32)
CIE-LCHlch(45.32, 68.53, 296.52°)
OKLaboklab(54.06% 0.0147 -0.176)
OKLCHoklch(54.06% 0.177 274.8)
XYZxyz(19.5024, 14.7709, 63.4387)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FD3 #D3C854
analogous
#549FD3 #545FD3 #8854D3
triadic
#545FD3 #D3545F #5FD354
tetradic
#545FD3 #D3549F #D3C854 #54D388
square
#545FD3 #D3549F #D3C854 #54D388
split-complementary
#545FD3 #D38854 #9FD354
monochromatic
#232C89 #303CBA #545FD3 #858DE0 #B5BAEC

Accessibility & contrast

On white

5.31
#545FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#545FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FD3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FD3#FFFFFF#000000##FFFFFF
##545FD31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0271D7
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #545fd3;
/* rgb */ color: rgb(84, 95, 211);
/* oklch */ color: oklch(54.1% 0.177 274.8);
Tailwind
colors: {
  custom: {
    50: '#908ce1',
    500: '#545fd3',
    950: '#000000',
  },
}
SCSS
$custom: #545fd3;
$custom-light: #908ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#545fd3",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 234.803,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.17658,
    "h": 274.8
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#545FD3
secondary
#DBD6A8
accent
#D546E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #545FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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