#3D5DCB#3D5DCB

#3D5DCB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.175 H 267.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3D5DCB
RGBrgb(61, 93, 203)
HSLhsl(226, 58%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(70%, 54.2%, 0%, 20.4%)
CIE-LABlab(42.96, 25.43, -60.61)
CIE-LCHlch(42.96, 65.73, 292.76°)
OKLaboklab(51.77% -0.0072 -0.1744)
OKLCHoklch(51.77% 0.175 267.6)
XYZxyz(16.6146, 13.1309, 58.1472)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DCB #CBAB3D
analogous
#3DA4CB #3D5DCB #643DCB
triadic
#3D5DCB #CB3D5D #5DCB3D
tetradic
#3D5DCB #CB3DA4 #CBAB3D #3DCB64
square
#3D5DCB #CB3DA4 #CBAB3D #3DCB64
split-complementary
#3D5DCB #CB643D #A4CB3D
monochromatic
#1E3070 #2B45A0 #3D5DCB #6D85D8 #9EAEE5

Accessibility & contrast

On white

5.79
#3D5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3D5DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DCB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DCB#FFFFFF#000000##FFFFFF
##3D5DCB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5dcb;
/* rgb */ color: rgb(61, 93, 203);
/* oklch */ color: oklch(51.8% 0.175 267.6);
Tailwind
colors: {
  custom: {
    50: '#848adc',
    500: '#3d5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dcb;
$custom-light: #848adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dcb",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 226.479,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.17457,
    "h": 267.6
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#3D5DCB
secondary
#D1C393
accent
#BE47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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