#3D5FC9#3D5FC9

#3D5FC9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.169 H 266.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC9
RGBrgb(61, 95, 201)
HSLhsl(225, 56%, 51%)
HSVhsv(225, 70%, 79%)
CMYKcmyk(69.7%, 52.7%, 0%, 21.2%)
CIE-LABlab(43.35, 23.43, -58.83)
CIE-LCHlch(43.35, 63.32, 291.71°)
OKLaboklab(52.02% -0.009 -0.1691)
OKLCHoklch(52.02% 0.169 266.9)
XYZxyz(16.5556, 13.3919, 56.9594)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC9 #C9A73D
analogous
#3DA5C9 #3D5FC9 #613DC9
triadic
#3D5FC9 #C93D5F #5FC93D
tetradic
#3D5FC9 #C93DA5 #C9A73D #3DC961
square
#3D5FC9 #C93DA5 #C9A73D #3DC961
split-complementary
#3D5FC9 #C9613D #A5C93D
monochromatic
#1E326D #2C479D #3D5FC9 #6D86D6 #9DAEE4

Accessibility & contrast

On white

5.71
#3D5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3D5FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC9#FFFFFF#000000##FFFFFF
##3D5FC91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166DCD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5fc9;
/* rgb */ color: rgb(61, 95, 201);
/* oklch */ color: oklch(52.0% 0.169 266.9);
Tailwind
colors: {
  custom: {
    50: '#838bda',
    500: '#3d5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc9;
$custom-light: #838bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc9",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 225.429,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.16939,
    "h": 266.9
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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