#3B54BD#3B54BD

#3B54BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.167 H 269.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3B54BD
RGBrgb(59, 84, 189)
HSLhsl(228, 52%, 49%)
HSVhsv(228, 69%, 74%)
CMYKcmyk(68.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(39.48, 25.88, -58.12)
CIE-LCHlch(39.48, 63.62, 294.00°)
OKLaboklab(48.81% -0.0024 -0.1673)
OKLCHoklch(48.81% 0.167 269.2)
XYZxyz(14.1561, 10.9432, 49.5005)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54BD #BDA43B
analogous
#3B95BD #3B54BD #633BBD
triadic
#3B54BD #BD3B54 #54BD3B
tetradic
#3B54BD #BD3B95 #BDA43B #3BBD63
square
#3B54BD #BD3B95 #BDA43B #3BBD63
split-complementary
#3B54BD #BD633B #95BD3B
monochromatic
#1E2B60 #2C3F8E #3B54BD #667ACF #95A3DE

Accessibility & contrast

On white

6.59
#3B54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3B54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54BD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54BD#FFFFFF#000000##FFFFFF
##3B54BD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b54bd;
/* rgb */ color: rgb(59, 84, 189);
/* oklch */ color: oklch(48.8% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#8183d2',
    500: '#3b54bd',
    950: '#000000',
  },
}
SCSS
$custom: #3b54bd;
$custom-light: #8183d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54bd",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 228.462,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.1673,
    "h": 269.2
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#3B54BD
secondary
#C9BD8B
accent
#C04CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3B54BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3B54BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva