#3F66D8#3F66D8

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

Color values

HEX#3F66D8
RGBrgb(63, 102, 216)
HSLhsl(225, 66%, 55%)
HSVhsv(225, 71%, 85%)
CMYKcmyk(70.8%, 52.8%, 0%, 15.3%)
CIE-LABlab(46.33, 24.66, -62.59)
CIE-LCHlch(46.33, 67.27, 291.50°)
OKLaboklab(54.63% -0.0118 -0.1801)
OKLCHoklch(54.63% 0.18 266.2)
XYZxyz(19.1916, 15.5154, 66.9358)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F66D8 #D8B13F
analogous
#3FB3D8 #3F66D8 #653FD8
triadic
#3F66D8 #D83F66 #66D83F
tetradic
#3F66D8 #D83FB3 #D8B13F #3FD865
square
#3F66D8 #D83FB3 #D8B13F #3FD865
split-complementary
#3F66D8 #D8653F #B3D83F
monochromatic
#1A3582 #254AB5 #3F66D8 #728FE2 #A5B7ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F66D8#FFFFFF#000000##FFFFFF
##3F66D81.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)
#1375DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f66d8;
/* rgb */ color: rgb(63, 102, 216);
/* oklch */ color: oklch(54.6% 0.180 266.2);
Tailwind
colors: {
  custom: {
    50: '#8791e5',
    500: '#3f66d8',
    950: '#000000',
  },
}
SCSS
$custom: #3f66d8;
$custom-light: #8791e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f66d8",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 224.706,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.18047,
    "h": 266.2
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#3F66D8
secondary
#DAC999
accent
#BE3FE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F66D8

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

Preview Lab → · Contrast checker → · Palette generator →

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