#3D81ED#3D81ED

#3D81ED is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.177 H 259.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3D81ED
RGBrgb(61, 129, 237)
HSLhsl(217, 83%, 58%)
HSVhsv(217, 74%, 93%)
CMYKcmyk(74.3%, 45.6%, 0%, 7.1%)
CIE-LABlab(54.87, 15.12, -60.65)
CIE-LCHlch(54.87, 62.50, 284.00°)
OKLaboklab(61.56% -0.0326 -0.1739)
OKLCHoklch(61.56% 0.177 259.4)
XYZxyz(25.0552, 22.8042, 83.1855)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D81ED #EDA93D
analogous
#3DD9ED #3D81ED #513DED
triadic
#3D81ED #ED3D81 #81ED3D
tetradic
#3D81ED #ED3DD9 #EDA93D #3DED51
square
#3D81ED #ED3DD9 #EDA93D #3DED51
split-complementary
#3D81ED #ED513D #D9ED3D
monochromatic
#0F47A1 #1460D9 #3D81ED #75A5F2 #ADCAF7

Accessibility & contrast

On white

3.78
#3D81ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#3D81ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D81ED
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D81ED#FFFFFF#000000##000000
##3D81ED1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#1E7CEB
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3d81ed;
/* rgb */ color: rgb(61, 129, 237);
/* oklch */ color: oklch(61.6% 0.177 259.4);
Tailwind
colors: {
  custom: {
    50: '#89a4f3',
    500: '#3d81ed',
    950: '#000000',
  },
}
SCSS
$custom: #3d81ed;
$custom-light: #89a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d81ed",
  "rgb": {
    "r": 61,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 216.818,
    "s": 83.019,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61564,
    "c": 0.17696,
    "h": 259.4
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#3D81ED
secondary
#E6CBA0
accent
#AB2EF9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #3D81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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