#545ECF#545ECF

#545ECF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.172 H 275.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#545ECF
RGBrgb(84, 94, 207)
HSLhsl(235, 56%, 57%)
HSVhsv(235, 59%, 81%)
CMYKcmyk(59.4%, 54.6%, 0%, 18.8%)
CIE-LABlab(44.79, 29.89, -59.88)
CIE-LCHlch(44.79, 66.93, 296.53°)
OKLaboklab(53.58% 0.0155 -0.1717)
OKLCHoklch(53.58% 0.172 275.1)
XYZxyz(18.9177, 14.3938, 60.8008)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545ECF #CFC554
analogous
#549CCF #545ECF #8854CF
triadic
#545ECF #CF545E #5ECF54
tetradic
#545ECF #CF549C #CFC554 #54CF88
square
#545ECF #CF549C #CFC554 #54CF88
split-complementary
#545ECF #CF8854 #9CCF54
monochromatic
#252D84 #323DB3 #545ECF #848BDC #B4B8EA

Accessibility & contrast

On white

5.41
#545ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#545ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545ECF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545ECF#FFFFFF#000000##FFFFFF
##545ECF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545ecf;
/* rgb */ color: rgb(84, 94, 207);
/* oklch */ color: oklch(53.6% 0.172 275.1);
Tailwind
colors: {
  custom: {
    50: '#8f8bde',
    500: '#545ecf',
    950: '#000000',
  },
}
SCSS
$custom: #545ecf;
$custom-light: #8f8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#545ecf",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 235.122,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.17244,
    "h": 275.1
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#545ECF
secondary
#D8D4A6
accent
#D348DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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