#3D51AF#3D51AF

#3D51AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.151 H 270.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3D51AF
RGBrgb(61, 81, 175)
HSLhsl(229, 48%, 46%)
HSVhsv(229, 65%, 69%)
CMYKcmyk(65.1%, 53.7%, 0%, 31.4%)
CIE-LABlab(37.79, 23.10, -52.63)
CIE-LCHlch(37.79, 57.47, 293.70°)
OKLaboklab(47.24% 0.0014 -0.1511)
OKLCHoklch(47.24% 0.151 270.5)
XYZxyz(12.6021, 9.9710, 41.8096)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D51AF #AF9B3D
analogous
#3D8AAF #3D51AF #623DAF
triadic
#3D51AF #AF3D51 #51AF3D
tetradic
#3D51AF #AF3D8A #AF9B3D #3DAF62
square
#3D51AF #AF3D8A #AF9B3D #3DAF62
split-complementary
#3D51AF #AF623D #8AAF3D
monochromatic
#1D2754 #2D3C82 #3D51AF #6173C8 #8F9BD8

Accessibility & contrast

On white

7.01
#3D51AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D51AF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D51AF#FFFFFF#000000##FFFFFF
##3D51AF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3d51af;
/* rgb */ color: rgb(61, 81, 175);
/* oklch */ color: oklch(47.2% 0.151 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f81c7',
    500: '#3d51af',
    950: '#000000',
  },
}
SCSS
$custom: #3d51af;
$custom-light: #7f81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d51af",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 229.474,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47244,
    "c": 0.15112,
    "h": 270.5
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#3D51AF
secondary
#C3B885
accent
#C050D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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