#3D5CBA#3D5CBA

#3D5CBA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.152 H 267.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3D5CBA
RGBrgb(61, 92, 186)
HSLhsl(225, 51%, 48%)
HSVhsv(225, 67%, 73%)
CMYKcmyk(67.2%, 50.5%, 0%, 27.1%)
CIE-LABlab(41.52, 19.93, -53.08)
CIE-LCHlch(41.52, 56.70, 290.58°)
OKLaboklab(50.3% -0.0078 -0.1523)
OKLCHoklch(50.3% 0.152 267.1)
XYZxyz(14.6115, 12.1902, 48.0278)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CBA #BA9B3D
analogous
#3D9ABA #3D5CBA #5C3DBA
triadic
#3D5CBA #BA3D5C #5CBA3D
tetradic
#3D5CBA #BA3D9A #BA9B3D #3DBA5C
square
#3D5CBA #BA3D9A #BA9B3D #3DBA5C
split-complementary
#3D5CBA #BA5C3D #9ABA3D
monochromatic
#1F2E5E #2E458C #3D5CBA #6780CD #95A7DC

Accessibility & contrast

On white

6.11
#3D5CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3D5CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CBA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CBA#FFFFFF#000000##FFFFFF
##3D5CBA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d5cba;
/* rgb */ color: rgb(61, 92, 186);
/* oklch */ color: oklch(50.3% 0.152 267.1);
Tailwind
colors: {
  custom: {
    50: '#8089cf',
    500: '#3d5cba',
    950: '#000000',
  },
}
SCSS
$custom: #3d5cba;
$custom-light: #8089cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5cba",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 225.12,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.15248,
    "h": 267.1
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#3D5CBA
secondary
#C8B98B
accent
#B74EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3D5CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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