#3D5EBA#3D5EBA

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

Color values

HEX#3D5EBA
RGBrgb(61, 94, 186)
HSLhsl(224, 51%, 48%)
HSVhsv(224, 67%, 73%)
CMYKcmyk(67.2%, 49.5%, 0%, 27.1%)
CIE-LABlab(42.06, 18.64, -52.20)
CIE-LCHlch(42.06, 55.42, 289.65°)
OKLaboklab(50.72% -0.0097 -0.1497)
OKLCHoklch(50.72% 0.15 266.3)
XYZxyz(14.7870, 12.5413, 48.0863)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EBA #BA993D
analogous
#3D9CBA #3D5EBA #5A3DBA
triadic
#3D5EBA #BA3D5E #5EBA3D
tetradic
#3D5EBA #BA3D9C #BA993D #3DBA5A
square
#3D5EBA #BA3D9C #BA993D #3DBA5A
split-complementary
#3D5EBA #BA5A3D #9CBA3D
monochromatic
#1F2F5E #2E478C #3D5EBA #6782CD #95A8DC

Accessibility & contrast

On white

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

On black

3.51
#3D5EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3D5EBA#FFFFFF#000000##FFFFFF
##3D5EBA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#055EB8
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5eba;
/* rgb */ color: rgb(61, 94, 186);
/* oklch */ color: oklch(50.7% 0.150 266.3);
Tailwind
colors: {
  custom: {
    50: '#808bcf',
    500: '#3d5eba',
    950: '#000000',
  },
}
SCSS
$custom: #3d5eba;
$custom-light: #808bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5eba",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 224.16,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.14997,
    "h": 266.3
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#3D5EBA
secondary
#C8B88B
accent
#B54EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3D5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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