#3B54D8#3B54D8

#3B54D8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.0% C 0.203 H 269.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3B54D8
RGBrgb(59, 84, 216)
HSLhsl(230, 67%, 54%)
HSVhsv(230, 73%, 85%)
CMYKcmyk(72.7%, 61.1%, 0%, 15.3%)
CIE-LABlab(41.57, 35.55, -70.33)
CIE-LCHlch(41.57, 78.81, 296.81°)
OKLaboklab(51.02% -0.002 -0.2032)
OKLCHoklch(51.02% 0.203 269.4)
XYZxyz(17.3644, 12.2265, 66.3972)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54D8 #D8BF3B
analogous
#3BA3D8 #3B54D8 #713BD8
triadic
#3B54D8 #D83B54 #54D83B
tetradic
#3B54D8 #D83BA3 #D8BF3B #3BD871
square
#3B54D8 #D83BA3 #D8BF3B #3BD871
split-complementary
#3B54D8 #D8713B #A3D83B
monochromatic
#192A7F #233AB2 #3B54D8 #6E81E2 #A1ADEC

Accessibility & contrast

On white

6.09
#3B54D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3B54D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54D8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54D8#FFFFFF#000000##FFFFFF
##3B54D81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b54d8;
/* rgb */ color: rgb(59, 84, 216);
/* oklch */ color: oklch(51.0% 0.203 269.4);
Tailwind
colors: {
  custom: {
    50: '#8684e5',
    500: '#3b54d8',
    950: '#000000',
  },
}
SCSS
$custom: #3b54d8;
$custom-light: #8684e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54d8",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 230.446,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.20317,
    "h": 269.4
  },
  "luminance": 0.12228
}

Semantic roles & 50–950 ramp

primary
#3B54D8
secondary
#D9CE96
accent
#CE3EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3B54D8

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

Preview Lab → · Contrast checker → · Palette generator →

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