#3D58C4#3D58C4

#3D58C4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.171 H 268.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3D58C4
RGBrgb(61, 88, 196)
HSLhsl(228, 53%, 50%)
HSVhsv(228, 69%, 77%)
CMYKcmyk(68.9%, 55.1%, 0%, 23.1%)
CIE-LABlab(41.15, 26.12, -59.50)
CIE-LCHlch(41.15, 64.98, 293.70°)
OKLaboklab(50.25% -0.0035 -0.1712)
OKLCHoklch(50.25% 0.171 268.8)
XYZxyz(15.3746, 11.9556, 53.7113)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D58C4 #C4A93D
analogous
#3D9BC4 #3D58C4 #653DC4
triadic
#3D58C4 #C43D58 #58C43D
tetradic
#3D58C4 #C43D9B #C4A93D #3DC465
square
#3D58C4 #C43D9B #C4A93D #3DC465
split-complementary
#3D58C4 #C4653D #9BC43D
monochromatic
#1F2E67 #2E4396 #3D58C4 #6C80D2 #9BA9E1

Accessibility & contrast

On white

6.19
#3D58C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3D58C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D58C4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D58C4#FFFFFF#000000##FFFFFF
##3D58C41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d58c4;
/* rgb */ color: rgb(61, 88, 196);
/* oklch */ color: oklch(50.2% 0.171 268.8);
Tailwind
colors: {
  custom: {
    50: '#8386d7',
    500: '#3d58c4',
    950: '#000000',
  },
}
SCSS
$custom: #3d58c4;
$custom-light: #8386d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d58c4",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 228,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.17128,
    "h": 268.8
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#3D58C4
secondary
#CDC090
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D58C4

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

Preview Lab → · Contrast checker → · Palette generator →

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