#3D5AC9#3D5AC9

#3D5AC9 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.176 H 268.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3D5AC9
RGBrgb(61, 90, 201)
HSLhsl(228, 56%, 51%)
HSVhsv(228, 70%, 79%)
CMYKcmyk(69.7%, 55.2%, 0%, 21.2%)
CIE-LABlab(42.03, 26.63, -60.96)
CIE-LCHlch(42.03, 66.52, 293.60°)
OKLaboklab(51.03% -0.0049 -0.1755)
OKLCHoklch(51.03% 0.176 268.4)
XYZxyz(16.1196, 12.5199, 56.8141)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5AC9 #C9AC3D
analogous
#3DA0C9 #3D5AC9 #663DC9
triadic
#3D5AC9 #C93D5A #5AC93D
tetradic
#3D5AC9 #C93DA0 #C9AC3D #3DC966
square
#3D5AC9 #C93DA0 #C9AC3D #3DC966
split-complementary
#3D5AC9 #C9663D #A0C93D
monochromatic
#1E2F6D #2C439D #3D5AC9 #6D83D6 #9DABE4

Accessibility & contrast

On white

5.99
#3D5AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3D5AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5AC9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5AC9#FFFFFF#000000##FFFFFF
##3D5AC91.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5ac9;
/* rgb */ color: rgb(61, 90, 201);
/* oklch */ color: oklch(51.0% 0.176 268.4);
Tailwind
colors: {
  custom: {
    50: '#8388da',
    500: '#3d5ac9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ac9;
$custom-light: #8388da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ac9",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 227.571,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.17557,
    "h": 268.4
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#3D5AC9
secondary
#D0C392
accent
#C048E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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