#3D5FC2#3D5FC2

#3D5FC2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.160 H 266.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC2
RGBrgb(61, 95, 194)
HSLhsl(225, 52%, 50%)
HSVhsv(225, 69%, 76%)
CMYKcmyk(68.6%, 51%, 0%, 23.9%)
CIE-LABlab(42.87, 20.89, -55.55)
CIE-LCHlch(42.87, 59.35, 290.61°)
OKLaboklab(51.5% -0.0097 -0.1595)
OKLCHoklch(51.5% 0.16 266.5)
XYZxyz(15.7509, 13.0700, 52.7212)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC2 #C2A03D
analogous
#3DA1C2 #3D5FC2 #5E3DC2
triadic
#3D5FC2 #C23D5F #5FC23D
tetradic
#3D5FC2 #C23DA1 #C2A03D #3DC25E
square
#3D5FC2 #C23DA1 #C2A03D #3DC25E
split-complementary
#3D5FC2 #C25E3D #A1C23D
monochromatic
#203165 #2E4893 #3D5FC2 #6C85D1 #9AACDF

Accessibility & contrast

On white

5.81
#3D5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3D5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC2#FFFFFF#000000##FFFFFF
##3D5FC21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5fc2;
/* rgb */ color: rgb(61, 95, 194);
/* oklch */ color: oklch(51.5% 0.160 266.5);
Tailwind
colors: {
  custom: {
    50: '#828bd5',
    500: '#3d5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc2;
$custom-light: #828bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc2",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 224.662,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.15981,
    "h": 266.5
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#3D5FC2
secondary
#CBBC90
accent
#B74CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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