#3D5FCA#3D5FCA

#3D5FCA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.171 H 267.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3D5FCA
RGBrgb(61, 95, 202)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 70%, 79%)
CMYKcmyk(69.8%, 53%, 0%, 20.8%)
CIE-LABlab(43.42, 23.79, -59.29)
CIE-LCHlch(43.42, 63.88, 291.86°)
OKLaboklab(52.09% -0.0089 -0.1705)
OKLCHoklch(52.09% 0.171 267)
XYZxyz(16.6736, 13.4391, 57.5810)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FCA #CAA83D
analogous
#3DA6CA #3D5FCA #623DCA
triadic
#3D5FCA #CA3D5F #5FCA3D
tetradic
#3D5FCA #CA3DA6 #CAA83D #3DCA62
square
#3D5FCA #CA3DA6 #CAA83D #3DCA62
split-complementary
#3D5FCA #CA623D #A6CA3D
monochromatic
#1E326E #2B479F #3D5FCA #6D87D7 #9DAEE4

Accessibility & contrast

On white

5.69
#3D5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3D5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FCA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FCA#FFFFFF#000000##FFFFFF
##3D5FCA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136DCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d5fca;
/* rgb */ color: rgb(61, 95, 202);
/* oklch */ color: oklch(52.1% 0.171 267.0);
Tailwind
colors: {
  custom: {
    50: '#838bdb',
    500: '#3d5fca',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fca;
$custom-light: #838bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fca",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 225.532,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.17075,
    "h": 267
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#3D5FCA
secondary
#D0C192
accent
#BB47E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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