#3B54C9#3B54C9

#3B54C9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.183 H 269.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3B54C9
RGBrgb(59, 84, 201)
HSLhsl(229, 57%, 51%)
HSVhsv(229, 71%, 79%)
CMYKcmyk(70.6%, 58.2%, 0%, 21.2%)
CIE-LABlab(40.39, 30.20, -63.64)
CIE-LCHlch(40.39, 70.44, 295.39°)
OKLaboklab(49.77% -0.002 -0.1835)
OKLCHoklch(49.77% 0.184 269.4)
XYZxyz(15.5130, 11.4859, 56.6465)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54C9 #C9B03B
analogous
#3B9BC9 #3B54C9 #693BC9
triadic
#3B54C9 #C93B54 #54C93B
tetradic
#3B54C9 #C93B9B #C9B03B #3BC969
square
#3B54C9 #C93B9B #C9B03B #3BC969
split-complementary
#3B54C9 #C9693B #9BC93B
monochromatic
#1E2B6C #2B3F9C #3B54C9 #6B7ED6 #9BA8E3

Accessibility & contrast

On white

6.37
#3B54C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3B54C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54C9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54C9#FFFFFF#000000##FFFFFF
##3B54C91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3b54c9;
/* rgb */ color: rgb(59, 84, 201);
/* oklch */ color: oklch(49.8% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#8383da',
    500: '#3b54c9',
    950: '#000000',
  },
}
SCSS
$custom: #3b54c9;
$custom-light: #8383da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54c9",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 229.437,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.1835,
    "h": 269.4
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#3B54C9
secondary
#CFC490
accent
#C548E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B54C9

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

Preview Lab → · Contrast checker → · Palette generator →

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