#3B58C2#3B58C2

#3B58C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.169 H 268.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3B58C2
RGBrgb(59, 88, 194)
HSLhsl(227, 53%, 50%)
HSVhsv(227, 70%, 76%)
CMYKcmyk(69.6%, 54.6%, 0%, 23.9%)
CIE-LABlab(40.90, 25.10, -58.74)
CIE-LCHlch(40.90, 63.88, 293.14°)
OKLaboklab(49.99% -0.0055 -0.169)
OKLCHoklch(49.99% 0.169 268.1)
XYZxyz(15.0276, 11.8028, 52.5147)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B58C2 #C2A53B
analogous
#3B9CC2 #3B58C2 #613BC2
triadic
#3B58C2 #C23B58 #58C23B
tetradic
#3B58C2 #C23B9C #C2A53B #3BC261
square
#3B58C2 #C23B9C #C2A53B #3BC261
split-complementary
#3B58C2 #C2613B #9CC23B
monochromatic
#1E2D64 #2D4393 #3B58C2 #697FD1 #98A7E0

Accessibility & contrast

On white

6.25
#3B58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3B58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B58C2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B58C2#FFFFFF#000000##FFFFFF
##3B58C21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3b58c2;
/* rgb */ color: rgb(59, 88, 194);
/* oklch */ color: oklch(50.0% 0.169 268.1);
Tailwind
colors: {
  custom: {
    50: '#8186d5',
    500: '#3b58c2',
    950: '#000000',
  },
}
SCSS
$custom: #3b58c2;
$custom-light: #8186d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b58c2",
  "rgb": {
    "r": 59,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 227.111,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.16913,
    "h": 268.1
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#3B58C2
secondary
#CBBE8E
accent
#BD4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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