#3B58CB#3B58CB

#3B58CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.181 H 268.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3B58CB
RGBrgb(59, 88, 203)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 71%, 80%)
CMYKcmyk(70.9%, 56.7%, 0%, 20.4%)
CIE-LABlab(41.56, 28.36, -62.88)
CIE-LCHlch(41.56, 68.98, 294.28°)
OKLaboklab(50.69% -0.005 -0.1812)
OKLCHoklch(50.69% 0.181 268.4)
XYZxyz(16.0691, 12.2194, 58.0001)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B58CB #CBAE3B
analogous
#3BA0CB #3B58CB #663BCB
triadic
#3B58CB #CB3B58 #58CB3B
tetradic
#3B58CB #CB3BA0 #CBAE3B #3BCB66
square
#3B58CB #CB3BA0 #CBAE3B #3BCB66
split-complementary
#3B58CB #CB663B #A0CB3B
monochromatic
#1D2E6E #2A429F #3B58CB #6B81D8 #9CAAE5

Accessibility & contrast

On white

6.10
#3B58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3B58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B58CB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B58CB#FFFFFF#000000##FFFFFF
##3B58CB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b58cb;
/* rgb */ color: rgb(59, 88, 203);
/* oklch */ color: oklch(50.7% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#8386dc',
    500: '#3b58cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b58cb;
$custom-light: #8386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b58cb",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 227.917,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.18129,
    "h": 268.4
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#3B58CB
secondary
#D1C491
accent
#C247E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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