#3D5EBE#3D5EBE

#3D5EBE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.156 H 266.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3D5EBE
RGBrgb(61, 94, 190)
HSLhsl(225, 51%, 49%)
HSVhsv(225, 68%, 75%)
CMYKcmyk(67.9%, 50.5%, 0%, 25.5%)
CIE-LABlab(42.33, 20.09, -54.10)
CIE-LCHlch(42.33, 57.71, 290.37°)
OKLaboklab(51.01% -0.0092 -0.1553)
OKLCHoklch(51.01% 0.156 266.6)
XYZxyz(15.2182, 12.7137, 50.3572)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EBE #BE9D3D
analogous
#3D9FBE #3D5EBE #5D3DBE
triadic
#3D5EBE #BE3D5E #5EBE3D
tetradic
#3D5EBE #BE3D9F #BE9D3D #3DBE5D
square
#3D5EBE #BE3D9F #BE9D3D #3DBE5D
split-complementary
#3D5EBE #BE5D3D #9FBE3D
monochromatic
#1F3061 #2E4790 #3D5EBE #6983CF #98AADE

Accessibility & contrast

On white

5.93
#3D5EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5EBE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EBE#FFFFFF#000000##FFFFFF
##3D5EBE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5ebe;
/* rgb */ color: rgb(61, 94, 190);
/* oklch */ color: oklch(51.0% 0.156 266.6);
Tailwind
colors: {
  custom: {
    50: '#818bd2',
    500: '#3d5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ebe;
$custom-light: #818bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ebe",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 224.651,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.15553,
    "h": 266.6
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#3D5EBE
secondary
#C9BA8D
accent
#B74DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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