#3B54CA#3B54CA

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

Color values

HEX#3B54CA
RGBrgb(59, 84, 202)
HSLhsl(230, 57%, 51%)
HSVhsv(230, 71%, 79%)
CMYKcmyk(70.8%, 58.4%, 0%, 20.8%)
CIE-LABlab(40.46, 30.56, -64.09)
CIE-LCHlch(40.46, 71.00, 295.49°)
OKLaboklab(49.85% -0.002 -0.1848)
OKLCHoklch(49.85% 0.185 269.4)
XYZxyz(15.6310, 11.5331, 57.2680)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54CA #CAB13B
analogous
#3B9CCA #3B54CA #693BCA
triadic
#3B54CA #CA3B54 #54CA3B
tetradic
#3B54CA #CA3B9C #CAB13B #3BCA69
square
#3B54CA #CA3B9C #CAB13B #3BCA69
split-complementary
#3B54CA #CA693B #9CCA3B
monochromatic
#1E2B6D #2B3F9D #3B54CA #6B7ED7 #9BA8E4

Accessibility & contrast

On white

6.35
#3B54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3B54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54CA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54CA#FFFFFF#000000##FFFFFF
##3B54CA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3b54ca;
/* rgb */ color: rgb(59, 84, 202);
/* oklch */ color: oklch(49.9% 0.185 269.4);
Tailwind
colors: {
  custom: {
    50: '#8383db',
    500: '#3b54ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b54ca;
$custom-light: #8383db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54ca",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 229.51,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.18483,
    "h": 269.4
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#3B54CA
secondary
#D0C591
accent
#C647E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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