#3D58C3#3D58C3

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

Color values

HEX#3D58C3
RGBrgb(61, 88, 195)
HSLhsl(228, 53%, 50%)
HSVhsv(228, 69%, 76%)
CMYKcmyk(68.7%, 54.9%, 0%, 23.5%)
CIE-LABlab(41.07, 25.76, -59.04)
CIE-LCHlch(41.07, 64.41, 293.57°)
OKLaboklab(50.17% -0.0035 -0.1699)
OKLCHoklch(50.17% 0.17 268.8)
XYZxyz(15.2611, 11.9102, 53.1138)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D58C3 #C3A83D
analogous
#3D9BC3 #3D58C3 #653DC3
triadic
#3D58C3 #C33D58 #58C33D
tetradic
#3D58C3 #C33D9B #C3A83D #3DC365
square
#3D58C3 #C33D9B #C3A83D #3DC365
split-complementary
#3D58C3 #C3653D #9BC33D
monochromatic
#202E66 #2E4395 #3D58C3 #6C80D1 #9AA8E0

Accessibility & contrast

On white

6.21
#3D58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3D58C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D58C3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D58C3#FFFFFF#000000##FFFFFF
##3D58C31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d58c3;
/* rgb */ color: rgb(61, 88, 195);
/* oklch */ color: oklch(50.2% 0.170 268.8);
Tailwind
colors: {
  custom: {
    50: '#8286d6',
    500: '#3d58c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d58c3;
$custom-light: #8286d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d58c3",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 227.91,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.16992,
    "h": 268.8
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#3D58C3
secondary
#CCC090
accent
#BF4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D58C3

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

Preview Lab → · Contrast checker → · Palette generator →

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