#3F66CF#3F66CF

#3F66CF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.168 H 265.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3F66CF
RGBrgb(63, 102, 207)
HSLhsl(224, 60%, 53%)
HSVhsv(224, 70%, 81%)
CMYKcmyk(69.6%, 50.7%, 0%, 18.8%)
CIE-LABlab(45.72, 21.42, -58.44)
CIE-LCHlch(45.72, 62.24, 290.13°)
OKLaboklab(53.97% -0.0127 -0.1679)
OKLCHoklch(53.97% 0.168 265.7)
XYZxyz(18.0598, 15.0627, 60.9750)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F66CF #CFA83F
analogous
#3FAECF #3F66CF #603FCF
triadic
#3F66CF #CF3F66 #66CF3F
tetradic
#3F66CF #CF3FAE #CFA83F #3FCF60
square
#3F66CF #CF3FAE #CFA83F #3FCF60
split-complementary
#3F66CF #CF603F #AECF3F
monochromatic
#1E3676 #2A4CA7 #3F66CF #708DDB #A1B4E7

Accessibility & contrast

On white

5.23
#3F66CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3F66CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F66CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F66CF#FFFFFF#000000##FFFFFF
##3F66CF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f66cf;
/* rgb */ color: rgb(63, 102, 207);
/* oklch */ color: oklch(54.0% 0.168 265.7);
Tailwind
colors: {
  custom: {
    50: '#8591de',
    500: '#3f66cf',
    950: '#000000',
  },
}
SCSS
$custom: #3f66cf;
$custom-light: #8591de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f66cf",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 223.75,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.16834,
    "h": 265.7
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#3F66CF
secondary
#D4C396
accent
#B845E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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