#3B54CD#3B54CD

#3B54CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.189 H 269.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3B54CD
RGBrgb(59, 84, 205)
HSLhsl(230, 59%, 52%)
HSVhsv(230, 71%, 80%)
CMYKcmyk(71.2%, 59%, 0%, 19.6%)
CIE-LABlab(40.70, 31.63, -65.44)
CIE-LCHlch(40.70, 72.69, 295.80°)
OKLaboklab(50.1% -0.0019 -0.1888)
OKLCHoklch(50.1% 0.189 269.4)
XYZxyz(15.9896, 11.6766, 59.1569)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B54CD #CDB43B
analogous
#3B9DCD #3B54CD #6B3BCD
triadic
#3B54CD #CD3B54 #54CD3B
tetradic
#3B54CD #CD3B9D #CDB43B #3BCD6B
square
#3B54CD #CD3B9D #CDB43B #3BCD6B
split-complementary
#3B54CD #CD6B3B #9DCD3B
monochromatic
#1D2B71 #293EA2 #3B54CD #6C7FD9 #9DA9E6

Accessibility & contrast

On white

6.30
#3B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3B54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B54CD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B54CD#FFFFFF#000000##FFFFFF
##3B54CD1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3b54cd;
/* rgb */ color: rgb(59, 84, 205);
/* oklch */ color: oklch(50.1% 0.189 269.4);
Tailwind
colors: {
  custom: {
    50: '#8483dd',
    500: '#3b54cd',
    950: '#000000',
  },
}
SCSS
$custom: #3b54cd;
$custom-light: #8483dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b54cd",
  "rgb": {
    "r": 59,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 229.726,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.18881,
    "h": 269.4
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#3B54CD
secondary
#D2C792
accent
#C845E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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