#545FC4#545FC4

#545FC4 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.156 H 275.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#545FC4
RGBrgb(84, 95, 196)
HSLhsl(234, 49%, 55%)
HSVhsv(234, 57%, 77%)
CMYKcmyk(57.1%, 51.5%, 0%, 23.1%)
CIE-LABlab(44.31, 25.62, -54.32)
CIE-LCHlch(44.31, 60.06, 295.25°)
OKLaboklab(52.98% 0.0138 -0.1554)
OKLCHoklch(52.98% 0.156 275.1)
XYZxyz(17.7089, 14.0535, 53.9933)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC4 #C4B954
analogous
#5497C4 #545FC4 #8154C4
triadic
#545FC4 #C4545F #5FC454
tetradic
#545FC4 #C45497 #C4B954 #54C481
square
#545FC4 #C45497 #C4B954 #54C481
split-complementary
#545FC4 #C48154 #97C454
monochromatic
#283075 #3843A3 #545FC4 #828AD4 #AFB4E3

Accessibility & contrast

On white

5.51
#545FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#545FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC4#FFFFFF#000000##FFFFFF
##545FC41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC8
Deuteranopia (green-blind)
#1064C2
Tritanopia (blue-blind)
#0C7688
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545fc4;
/* rgb */ color: rgb(84, 95, 196);
/* oklch */ color: oklch(53.0% 0.156 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d8cd6',
    500: '#545fc4',
    950: '#000000',
  },
}
SCSS
$custom: #545fc4;
$custom-light: #8d8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc4",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 234.107,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.15599,
    "h": 275.1
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#545FC4
secondary
#D1CDA2
accent
#CB50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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