#3D5ACB#3D5ACB

#3D5ACB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.178 H 268.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3D5ACB
RGBrgb(61, 90, 203)
HSLhsl(228, 58%, 52%)
HSVhsv(228, 70%, 80%)
CMYKcmyk(70%, 55.7%, 0%, 20.4%)
CIE-LABlab(42.18, 27.35, -61.88)
CIE-LCHlch(42.18, 67.65, 293.85°)
OKLaboklab(51.18% -0.0048 -0.1782)
OKLCHoklch(51.18% 0.178 268.5)
XYZxyz(16.3564, 12.6146, 58.0612)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ACB #CBAE3D
analogous
#3DA1CB #3D5ACB #673DCB
triadic
#3D5ACB #CB3D5A #5ACB3D
tetradic
#3D5ACB #CB3DA1 #CBAE3D #3DCB67
square
#3D5ACB #CB3DA1 #CBAE3D #3DCB67
split-complementary
#3D5ACB #CB673D #A1CB3D
monochromatic
#1E2F70 #2B43A0 #3D5ACB #6D83D8 #9EACE5

Accessibility & contrast

On white

5.96
#3D5ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3D5ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ACB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ACB#FFFFFF#000000##FFFFFF
##3D5ACB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5acb;
/* rgb */ color: rgb(61, 90, 203);
/* oklch */ color: oklch(51.2% 0.178 268.5);
Tailwind
colors: {
  custom: {
    50: '#8488dc',
    500: '#3d5acb',
    950: '#000000',
  },
}
SCSS
$custom: #3d5acb;
$custom-light: #8488dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5acb",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 227.746,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.17826,
    "h": 268.5
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#3D5ACB
secondary
#D1C493
accent
#C147E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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