#3D66C8#3D66C8

#3D66C8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.159 H 264.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3D66C8
RGBrgb(61, 102, 200)
HSLhsl(222, 56%, 51%)
HSVhsv(222, 70%, 78%)
CMYKcmyk(69.5%, 49%, 0%, 21.6%)
CIE-LABlab(45.17, 18.59, -55.31)
CIE-LCHlch(45.17, 58.35, 288.58°)
OKLaboklab(53.38% -0.0152 -0.1587)
OKLCHoklch(53.38% 0.159 264.5)
XYZxyz(17.0975, 14.6632, 56.5616)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D66C8 #C89F3D
analogous
#3DABC8 #3D66C8 #593DC8
triadic
#3D66C8 #C83D66 #66C83D
tetradic
#3D66C8 #C83DAB #C89F3D #3DC859
square
#3D66C8 #C83DAB #C89F3D #3DC859
split-complementary
#3D66C8 #C8593D #ABC83D
monochromatic
#1F356C #2C4D9C #3D66C8 #6D8CD6 #9CB1E3

Accessibility & contrast

On white

5.34
#3D66C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3D66C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D66C8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D66C8#FFFFFF#000000##FFFFFF
##3D66C81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d66c8;
/* rgb */ color: rgb(61, 102, 200);
/* oklch */ color: oklch(53.4% 0.159 264.5);
Tailwind
colors: {
  custom: {
    50: '#8391d9',
    500: '#3d66c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d66c8;
$custom-light: #8391d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d66c8",
  "rgb": {
    "r": 61,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 222.302,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.15942,
    "h": 264.5
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#3D66C8
secondary
#CFBD92
accent
#B349DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D66C8

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

Preview Lab → · Contrast checker → · Palette generator →

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