#3B58D3#3B58D3

#3B58D3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.192 H 268.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3B58D3
RGBrgb(59, 88, 211)
HSLhsl(229, 63%, 53%)
HSVhsv(229, 72%, 83%)
CMYKcmyk(72%, 58.3%, 0%, 17.3%)
CIE-LABlab(42.17, 31.24, -66.50)
CIE-LCHlch(42.17, 73.47, 295.16°)
OKLaboklab(51.34% -0.0048 -0.1918)
OKLCHoklch(51.34% 0.192 268.6)
XYZxyz(17.0472, 12.6106, 63.1511)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B58D3 #D3B63B
analogous
#3BA4D3 #3B58D3 #6A3BD3
triadic
#3B58D3 #D33B58 #58D33B
tetradic
#3B58D3 #D33BA4 #D3B63B #3BD36A
square
#3B58D3 #D33BA4 #D3B63B #3BD36A
split-complementary
#3B58D3 #D36A3B #A4D33B
monochromatic
#1B2D79 #2640AB #3B58D3 #6D83DE #9FADE9

Accessibility & contrast

On white

5.96
#3B58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3B58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B58D3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B58D3#FFFFFF#000000##FFFFFF
##3B58D31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b58d3;
/* rgb */ color: rgb(59, 88, 211);
/* oklch */ color: oklch(51.3% 0.192 268.6);
Tailwind
colors: {
  custom: {
    50: '#8586e1',
    500: '#3b58d3',
    950: '#000000',
  },
}
SCSS
$custom: #3b58d3;
$custom-light: #8586e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b58d3",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 228.553,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.1919,
    "h": 268.6
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

primary
#3B58D3
secondary
#D6C994
accent
#C741E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3B58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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