#3D58B7#3D58B7

#3D58B7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.153 H 268.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3D58B7
RGBrgb(61, 88, 183)
HSLhsl(227, 50%, 48%)
HSVhsv(227, 67%, 72%)
CMYKcmyk(66.7%, 51.9%, 0%, 28.2%)
CIE-LABlab(40.23, 21.43, -53.40)
CIE-LCHlch(40.23, 57.54, 291.87°)
OKLaboklab(49.26% -0.0044 -0.1533)
OKLCHoklch(49.26% 0.153 268.3)
XYZxyz(13.9585, 11.3891, 46.2533)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D58B7 #B79C3D
analogous
#3D95B7 #3D58B7 #5F3DB7
triadic
#3D58B7 #B73D58 #58B73D
tetradic
#3D58B7 #B73D95 #B79C3D #3DB75F
square
#3D58B7 #B73D95 #B79C3D #3DB75F
split-complementary
#3D58B7 #B75F3D #95B73D
monochromatic
#1E2C5B #2E4289 #3D58B7 #657CCC #93A3DB

Accessibility & contrast

On white

6.41
#3D58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3D58B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D58B7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D58B7#FFFFFF#000000##FFFFFF
##3D58B71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d58b7;
/* rgb */ color: rgb(61, 88, 183);
/* oklch */ color: oklch(49.3% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#8086cd',
    500: '#3d58b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d58b7;
$custom-light: #8086cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d58b7",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 226.721,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.15335,
    "h": 268.3
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#3D58B7
secondary
#C6B989
accent
#BB4EDA
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D58B7

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

Preview Lab → · Contrast checker → · Palette generator →

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