#3D58C8#3D58C8

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

Color values

HEX#3D58C8
RGBrgb(61, 88, 200)
HSLhsl(228, 56%, 51%)
HSVhsv(228, 70%, 78%)
CMYKcmyk(69.5%, 56%, 0%, 21.6%)
CIE-LABlab(41.44, 27.55, -61.34)
CIE-LCHlch(41.44, 67.25, 294.19°)
OKLaboklab(50.56% -0.0033 -0.1767)
OKLCHoklch(50.56% 0.177 268.9)
XYZxyz(15.8359, 12.1401, 56.1411)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D58C8 #C8AD3D
analogous
#3D9DC8 #3D58C8 #673DC8
triadic
#3D58C8 #C83D58 #58C83D
tetradic
#3D58C8 #C83D9D #C8AD3D #3DC867
square
#3D58C8 #C83D9D #C8AD3D #3DC867
split-complementary
#3D58C8 #C8673D #9DC83D
monochromatic
#1F2E6C #2C429C #3D58C8 #6D81D6 #9CAAE3

Accessibility & contrast

On white

6.13
#3D58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3D58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D58C8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D58C8#FFFFFF#000000##FFFFFF
##3D58C81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d58c8;
/* rgb */ color: rgb(61, 88, 200);
/* oklch */ color: oklch(50.6% 0.177 268.9);
Tailwind
colors: {
  custom: {
    50: '#8386d9',
    500: '#3d58c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d58c8;
$custom-light: #8386d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d58c8",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 228.345,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.17669,
    "h": 268.9
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#3D58C8
secondary
#CFC392
accent
#C249DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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