#3D81E4#3D81E4

#3D81E4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.165 H 258.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3D81E4
RGBrgb(61, 129, 228)
HSLhsl(216, 76%, 57%)
HSVhsv(216, 73%, 89%)
CMYKcmyk(73.2%, 43.4%, 0%, 10.6%)
CIE-LABlab(54.33, 11.86, -56.48)
CIE-LCHlch(54.33, 57.71, 281.86°)
OKLaboklab(60.98% -0.0342 -0.1617)
OKLCHoklch(60.98% 0.165 258.1)
XYZxyz(23.7732, 22.2914, 76.4335)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D81E4 #E4A03D
analogous
#3DD5E4 #3D81E4 #4D3DE4
triadic
#3D81E4 #E43D81 #81E43D
tetradic
#3D81E4 #E43DD5 #E4A03D #3DE44D
square
#3D81E4 #E43DD5 #E4A03D #3DE44D
split-complementary
#3D81E4 #E44D3D #D5E43D
monochromatic
#144892 #1C62C8 #3D81E4 #73A4EB #A8C7F3

Accessibility & contrast

On white

3.85
#3D81E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#3D81E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D81E4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D81E4#FFFFFF#000000##000000
##3D81E41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3d81e4;
/* rgb */ color: rgb(61, 129, 228);
/* oklch */ color: oklch(61.0% 0.165 258.1);
Tailwind
colors: {
  custom: {
    50: '#87a5ed',
    500: '#3d81e4',
    950: '#000000',
  },
}
SCSS
$custom: #3d81e4;
$custom-light: #87a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3d81e4",
  "rgb": {
    "r": 61,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 215.569,
    "s": 75.566,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.16525,
    "h": 258.1
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#3D81E4
secondary
#E1C59C
accent
#A536F2
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3D81E4

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

Preview Lab → · Contrast checker → · Palette generator →

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