#3D66D9#3D66D9

#3D66D9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.182 H 265.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3D66D9
RGBrgb(61, 102, 217)
HSLhsl(224, 67%, 55%)
HSVhsv(224, 72%, 85%)
CMYKcmyk(71.9%, 53%, 0%, 14.9%)
CIE-LABlab(46.31, 24.76, -63.19)
CIE-LCHlch(46.31, 67.87, 291.39°)
OKLaboklab(54.62% -0.0134 -0.1819)
OKLCHoklch(54.62% 0.182 265.8)
XYZxyz(19.1958, 15.5026, 67.6128)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D66D9 #D9B03D
analogous
#3DB4D9 #3D66D9 #623DD9
triadic
#3D66D9 #D93D66 #66D93D
tetradic
#3D66D9 #D93DB4 #D9B03D #3DD962
square
#3D66D9 #D93DB4 #D9B03D #3DD962
split-complementary
#3D66D9 #D9623D #B4D93D
monochromatic
#193582 #244AB5 #3D66D9 #708EE3 #A3B7ED

Accessibility & contrast

On white

5.12
#3D66D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3D66D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D66D9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D66D9#FFFFFF#000000##FFFFFF
##3D66D91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DD
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#008296
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d66d9;
/* rgb */ color: rgb(61, 102, 217);
/* oklch */ color: oklch(54.6% 0.182 265.8);
Tailwind
colors: {
  custom: {
    50: '#8691e5',
    500: '#3d66d9',
    950: '#000000',
  },
}
SCSS
$custom: #3d66d9;
$custom-light: #8691e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d66d9",
  "rgb": {
    "r": 61,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 224.231,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.18237,
    "h": 265.8
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#3D66D9
secondary
#DAC998
accent
#BD3EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3D66D9

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

Preview Lab → · Contrast checker → · Palette generator →

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