#545FCB#545FCB

#545FCB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.166 H 274.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#545FCB
RGBrgb(84, 95, 203)
HSLhsl(234, 53%, 56%)
HSVhsv(234, 59%, 80%)
CMYKcmyk(58.6%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.77, 27.94, -57.61)
CIE-LCHlch(44.77, 64.03, 295.87°)
OKLaboklab(53.48% 0.0143 -0.1651)
OKLCHoklch(53.48% 0.166 274.9)
XYZxyz(18.5244, 14.3796, 58.2877)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FCB #CBC054
analogous
#549BCB #545FCB #8554CB
triadic
#545FCB #CB545F #5FCB54
tetradic
#545FCB #CB549B #CBC054 #54CB85
square
#545FCB #CB549B #CBC054 #54CB85
split-complementary
#545FCB #CB8554 #9BCB54
monochromatic
#262F7E #3540AD #545FCB #838BD9 #B2B7E8

Accessibility & contrast

On white

5.42
#545FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545FCB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FCB#FFFFFF#000000##FFFFFF
##545FCB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545fcb;
/* rgb */ color: rgb(84, 95, 203);
/* oklch */ color: oklch(53.5% 0.166 274.9);
Tailwind
colors: {
  custom: {
    50: '#8e8cdb',
    500: '#545fcb',
    950: '#000000',
  },
}
SCSS
$custom: #545fcb;
$custom-light: #8e8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#545fcb",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 234.454,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.16568,
    "h": 274.9
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

primary
#545FCB
secondary
#D6D1A5
accent
#CF4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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