#3D5AC3#3D5AC3

#3D5AC3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.167 H 268.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3D5AC3
RGBrgb(61, 90, 195)
HSLhsl(227, 53%, 50%)
HSVhsv(227, 69%, 76%)
CMYKcmyk(68.7%, 53.8%, 0%, 23.5%)
CIE-LABlab(41.60, 24.47, -58.18)
CIE-LCHlch(41.60, 63.12, 292.81°)
OKLaboklab(50.56% -0.0052 -0.1673)
OKLCHoklch(50.56% 0.167 268.2)
XYZxyz(15.4276, 12.2430, 53.1693)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5AC3 #C3A63D
analogous
#3D9DC3 #3D5AC3 #633DC3
triadic
#3D5AC3 #C33D5A #5AC33D
tetradic
#3D5AC3 #C33D9D #C3A63D #3DC363
square
#3D5AC3 #C33D9D #C3A63D #3DC363
split-complementary
#3D5AC3 #C3633D #9DC33D
monochromatic
#202F66 #2E4495 #3D5AC3 #6C82D1 #9AAAE0

Accessibility & contrast

On white

6.09
#3D5AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3D5AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5AC3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5AC3#FFFFFF#000000##FFFFFF
##3D5AC31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A69C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d5ac3;
/* rgb */ color: rgb(61, 90, 195);
/* oklch */ color: oklch(50.6% 0.167 268.2);
Tailwind
colors: {
  custom: {
    50: '#8288d6',
    500: '#3d5ac3',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ac3;
$custom-light: #8288d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ac3",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 227.015,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.16742,
    "h": 268.2
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#3D5AC3
secondary
#CCBF90
accent
#BD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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