#3B54BB#3B54BB

#3B54BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.165 H 269.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3B54BB
RGBrgb(59, 84, 187)
HSLhsl(228, 52%, 48%)
HSVhsv(228, 68%, 73%)
CMYKcmyk(68.4%, 55.1%, 0%, 26.7%)
CIE-LABlab(39.34, 25.16, -57.19)
CIE-LCHlch(39.34, 62.48, 293.74°)
OKLaboklab(48.65% -0.0025 -0.1645)
OKLCHoklch(48.65% 0.165 269.1)
XYZxyz(13.9405, 10.8570, 48.3650)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54BB #BBA23B
analogous
#3B94BB #3B54BB #623BBB
triadic
#3B54BB #BB3B54 #54BB3B
tetradic
#3B54BB #BB3B94 #BBA23B #3BBB62
square
#3B54BB #BB3B94 #BBA23B #3BBB62
split-complementary
#3B54BB #BB623B #94BB3B
monochromatic
#1E2A5E #2C3F8C #3B54BB #6579CE #93A2DD

Accessibility & contrast

On white

6.62
#3B54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3B54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54BB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54BB#FFFFFF#000000##FFFFFF
##3B54BB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3b54bb;
/* rgb */ color: rgb(59, 84, 187);
/* oklch */ color: oklch(48.7% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#8083d0',
    500: '#3b54bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b54bb;
$custom-light: #8083d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54bb",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 228.281,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.16456,
    "h": 269.1
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#3B54BB
secondary
#C8BC8A
accent
#C04CDB
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3B54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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