#3F66DC#3F66DC

#3F66DC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.186 H 266.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3F66DC
RGBrgb(63, 102, 220)
HSLhsl(225, 69%, 55%)
HSVhsv(225, 71%, 86%)
CMYKcmyk(71.4%, 53.6%, 0%, 13.7%)
CIE-LABlab(46.61, 26.10, -64.41)
CIE-LCHlch(46.61, 69.50, 292.06°)
OKLaboklab(54.93% -0.0115 -0.1854)
OKLCHoklch(54.93% 0.186 266.4)
XYZxyz(19.7150, 15.7247, 69.6924)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F66DC #DCB53F
analogous
#3FB4DC #3F66DC #673FDC
triadic
#3F66DC #DC3F66 #66DC3F
tetradic
#3F66DC #DC3FB4 #DCB53F #3FDC67
square
#3F66DC #DC3FB4 #DCB53F #3FDC67
split-complementary
#3F66DC #DC673F #B4DC3F
monochromatic
#193488 #2248BC #3F66DC #738FE5 #A7B8EF

Accessibility & contrast

On white

5.07
#3F66DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3F66DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F66DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F66DC#FFFFFF#000000##FFFFFF
##3F66DC1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0376E0
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f66dc;
/* rgb */ color: rgb(63, 102, 220);
/* oklch */ color: oklch(54.9% 0.186 266.4);
Tailwind
colors: {
  custom: {
    50: '#8791e8',
    500: '#3f66dc',
    950: '#000000',
  },
}
SCSS
$custom: #3f66dc;
$custom-light: #8791e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f66dc",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 225.096,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.1858,
    "h": 266.4
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#3F66DC
secondary
#DCCC9B
accent
#C03CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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