#3B58C8#3B58C8

#3B58C8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.177 H 268.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#3B58C8
RGBrgb(59, 88, 200)
HSLhsl(228, 56%, 51%)
HSVhsv(228, 71%, 78%)
CMYKcmyk(70.5%, 56%, 0%, 21.6%)
CIE-LABlab(41.34, 27.28, -61.51)
CIE-LCHlch(41.34, 67.28, 293.91°)
OKLaboklab(50.46% -0.0051 -0.1772)
OKLCHoklch(50.46% 0.177 268.3)
XYZxyz(15.7151, 12.0778, 56.1354)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B58C8 #C8AB3B
analogous
#3B9EC8 #3B58C8 #653BC8
triadic
#3B58C8 #C83B58 #58C83B
tetradic
#3B58C8 #C83B9E #C8AB3B #3BC865
square
#3B58C8 #C83B9E #C8AB3B #3BC865
split-complementary
#3B58C8 #C8653B #9EC83B
monochromatic
#1E2E6B #2B429A #3B58C8 #6B81D5 #9BA9E3

Accessibility & contrast

On white

6.15
#3B58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3B58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B58C8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B58C8#FFFFFF#000000##FFFFFF
##3B58C81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b58c8;
/* rgb */ color: rgb(59, 88, 200);
/* oklch */ color: oklch(50.5% 0.177 268.3);
Tailwind
colors: {
  custom: {
    50: '#8386d9',
    500: '#3b58c8',
    950: '#000000',
  },
}
SCSS
$custom: #3b58c8;
$custom-light: #8386d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b58c8",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 227.66,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.17726,
    "h": 268.3
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#3B58C8
secondary
#CFC290
accent
#C048DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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