#3D58CB#3D58CB

#3D58CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.181 H 269.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3D58CB
RGBrgb(61, 88, 203)
HSLhsl(229, 58%, 52%)
HSVhsv(229, 70%, 80%)
CMYKcmyk(70%, 56.7%, 0%, 20.4%)
CIE-LABlab(41.66, 28.63, -62.72)
CIE-LCHlch(41.66, 68.94, 294.54°)
OKLaboklab(50.79% -0.0032 -0.1807)
OKLCHoklch(50.79% 0.181 269)
XYZxyz(16.1900, 12.2817, 58.0057)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D58CB #CBB03D
analogous
#3D9FCB #3D58CB #693DCB
triadic
#3D58CB #CB3D58 #58CB3D
tetradic
#3D58CB #CB3D9F #CBB03D #3DCB69
square
#3D58CB #CB3D9F #CBB03D #3DCB69
split-complementary
#3D58CB #CB693D #9FCB3D
monochromatic
#1E2D70 #2B41A0 #3D58CB #6D82D8 #9EABE5

Accessibility & contrast

On white

6.08
#3D58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3D58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D58CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D58CB#FFFFFF#000000##FFFFFF
##3D58CB1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.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: #3d58cb;
/* rgb */ color: rgb(61, 88, 203);
/* oklch */ color: oklch(50.8% 0.181 269.0);
Tailwind
colors: {
  custom: {
    50: '#8486dc',
    500: '#3d58cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d58cb;
$custom-light: #8486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d58cb",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 228.592,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.18073,
    "h": 269
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#3D58CB
secondary
#D1C593
accent
#C447E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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