#3D50B2#3D50B2

#3D50B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.157 H 270.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3D50B2
RGBrgb(61, 80, 178)
HSLhsl(230, 49%, 47%)
HSVhsv(230, 66%, 70%)
CMYKcmyk(65.7%, 55.1%, 0%, 30.2%)
CIE-LABlab(37.74, 24.83, -54.48)
CIE-LCHlch(37.74, 59.87, 294.50°)
OKLaboklab(47.27% 0.0026 -0.1566)
OKLCHoklch(47.27% 0.157 270.9)
XYZxyz(12.8263, 9.9426, 43.3540)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D50B2 #B29F3D
analogous
#3D8BB2 #3D50B2 #643DB2
triadic
#3D50B2 #B23D50 #50B23D
tetradic
#3D50B2 #B23D8B #B29F3D #3DB264
square
#3D50B2 #B23D8B #B29F3D #3DB264
split-complementary
#3D50B2 #B2643D #8BB23D
monochromatic
#1E2757 #2D3C84 #3D50B2 #6373C9 #909CD9

Accessibility & contrast

On white

7.03
#3D50B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3D50B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D50B2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D50B2#FFFFFF#000000##FFFFFF
##3D50B21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3d50b2;
/* rgb */ color: rgb(61, 80, 178);
/* oklch */ color: oklch(47.3% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f80ca',
    500: '#3d50b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d50b2;
$custom-light: #7f80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d50b2",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 230.256,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47274,
    "c": 0.1566,
    "h": 270.9
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#3D50B2
secondary
#C4BA87
accent
#C24FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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