#3D50A2#3D50A2

#3D50A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.134 H 270.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3D50A2
RGBrgb(61, 80, 162)
HSLhsl(229, 45%, 44%)
HSVhsv(229, 62%, 64%)
CMYKcmyk(62.3%, 50.6%, 0%, 36.5%)
CIE-LABlab(36.63, 19.11, -46.77)
CIE-LCHlch(36.63, 50.52, 292.23°)
OKLaboklab(46.08% 0.0013 -0.1339)
OKLCHoklch(46.08% 0.134 270.5)
XYZxyz(11.3125, 9.3371, 35.3815)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D50A2 #A28F3D
analogous
#3D82A2 #3D50A2 #5C3DA2
triadic
#3D50A2 #A23D50 #50A23D
tetradic
#3D50A2 #A23D82 #A28F3D #3DA25C
square
#3D50A2 #A23D82 #A28F3D #3DA25C
split-complementary
#3D50A2 #A25C3D #82A23D
monochromatic
#1C2449 #2C3A76 #3D50A2 #5B6EC1 #8795D2

Accessibility & contrast

On white

7.32
#3D50A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3D50A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D50A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D50A2#FFFFFF#000000##FFFFFF
##3D50A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#0C52A0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d50a2;
/* rgb */ color: rgb(61, 80, 162);
/* oklch */ color: oklch(46.1% 0.134 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c80be',
    500: '#3d50a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d50a2;
$custom-light: #7c80be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d50a2",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 228.713,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.13389,
    "h": 270.5
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#3D50A2
secondary
#BCB17E
accent
#BC53D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3D50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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