#3B58D5#3B58D5

#3B58D5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.195 H 268.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3B58D5
RGBrgb(59, 88, 213)
HSLhsl(229, 65%, 53%)
HSVhsv(229, 72%, 84%)
CMYKcmyk(72.3%, 58.7%, 0%, 16.5%)
CIE-LABlab(42.33, 31.96, -67.39)
CIE-LCHlch(42.33, 74.58, 295.37°)
OKLaboklab(51.5% -0.0048 -0.1945)
OKLCHoklch(51.5% 0.195 268.6)
XYZxyz(17.2995, 12.7115, 64.4797)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B58D5 #D5B83B
analogous
#3BA5D5 #3B58D5 #6B3BD5
triadic
#3B58D5 #D53B58 #58D53B
tetradic
#3B58D5 #D53BA5 #D5B83B #3BD56B
square
#3B58D5 #D53BA5 #D5B83B #3BD56B
split-complementary
#3B58D5 #D56B3B #A5D53B
monochromatic
#1A2D7B #253FAE #3B58D5 #6D83E0 #A0AEEB

Accessibility & contrast

On white

5.93
#3B58D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3B58D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B58D5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B58D5#FFFFFF#000000##FFFFFF
##3B58D51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b58d5;
/* rgb */ color: rgb(59, 88, 213);
/* oklch */ color: oklch(51.5% 0.195 268.6);
Tailwind
colors: {
  custom: {
    50: '#8586e3',
    500: '#3b58d5',
    950: '#000000',
  },
}
SCSS
$custom: #3b58d5;
$custom-light: #8586e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b58d5",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 228.701,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51503,
    "c": 0.19453,
    "h": 268.6
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#3B58D5
secondary
#D7CB95
accent
#C840E8
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #3B58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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