#3D5FBA#3D5FBA

#3D5FBA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.149 H 265.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3D5FBA
RGBrgb(61, 95, 186)
HSLhsl(224, 51%, 48%)
HSVhsv(224, 67%, 73%)
CMYKcmyk(67.2%, 48.9%, 0%, 27.1%)
CIE-LABlab(42.34, 18.00, -51.75)
CIE-LCHlch(42.34, 54.79, 289.18°)
OKLaboklab(50.93% -0.0106 -0.1483)
OKLCHoklch(50.93% 0.149 265.9)
XYZxyz(14.8765, 12.7203, 48.1161)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FBA #BA983D
analogous
#3D9DBA #3D5FBA #593DBA
triadic
#3D5FBA #BA3D5F #5FBA3D
tetradic
#3D5FBA #BA3D9D #BA983D #3DBA59
square
#3D5FBA #BA3D9D #BA983D #3DBA59
split-complementary
#3D5FBA #BA593D #9DBA3D
monochromatic
#1F305E #2E478C #3D5FBA #6783CD #95A8DC

Accessibility & contrast

On white

5.92
#3D5FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3D5FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FBA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FBA#FFFFFF#000000##FFFFFF
##3D5FBA1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#0C5FB8
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5fba;
/* rgb */ color: rgb(61, 95, 186);
/* oklch */ color: oklch(50.9% 0.149 265.9);
Tailwind
colors: {
  custom: {
    50: '#808bcf',
    500: '#3d5fba',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fba;
$custom-light: #808bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fba",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 223.68,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.14872,
    "h": 265.9
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#3D5FBA
secondary
#C8B78B
accent
#B44EDA
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3D5FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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