#3D5FE2#3D5FE2

#3D5FE2 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.0% C 0.203 H 267.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3D5FE2
RGBrgb(61, 95, 226)
HSLhsl(228, 74%, 56%)
HSVhsv(228, 73%, 89%)
CMYKcmyk(73%, 58%, 0%, 11.4%)
CIE-LABlab(45.17, 32.42, -70.16)
CIE-LCHlch(45.17, 77.29, 294.80°)
OKLaboklab(53.96% -0.0077 -0.2025)
OKLCHoklch(53.96% 0.203 267.8)
XYZxyz(19.7394, 14.6654, 73.7272)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FE2 #E2C03D
analogous
#3DB2E2 #3D5FE2 #6E3DE2
triadic
#3D5FE2 #E23D5F #5FE23D
tetradic
#3D5FE2 #E23DB2 #E2C03D #3DE26E
square
#3D5FE2 #E23DB2 #E2C03D #3DE26E
split-complementary
#3D5FE2 #E26E3D #B2E23D
monochromatic
#152F8F #1D40C4 #3D5FE2 #728BEA #A7B7F2

Accessibility & contrast

On white

5.34
#3D5FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3D5FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FE2#FFFFFF#000000##FFFFFF
##3D5FE21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d5fe2;
/* rgb */ color: rgb(61, 95, 226);
/* oklch */ color: oklch(54.0% 0.203 267.8);
Tailwind
colors: {
  custom: {
    50: '#888cec',
    500: '#3d5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fe2;
$custom-light: #888cec;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fe2",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 227.636,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.20261,
    "h": 267.8
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#3D5FE2
secondary
#DFD19B
accent
#CA37F1
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3D5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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