#3F66D9#3F66D9

#3F66D9 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.182 H 266.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3F66D9
RGBrgb(63, 102, 217)
HSLhsl(225, 67%, 55%)
HSVhsv(225, 71%, 85%)
CMYKcmyk(71%, 53%, 0%, 14.9%)
CIE-LABlab(46.40, 25.02, -63.05)
CIE-LCHlch(46.40, 67.83, 291.65°)
OKLaboklab(54.71% -0.0117 -0.1814)
OKLCHoklch(54.71% 0.182 266.3)
XYZxyz(19.3213, 15.5673, 67.6187)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F66D9 #D9B23F
analogous
#3FB3D9 #3F66D9 #653FD9
triadic
#3F66D9 #D93F66 #66D93F
tetradic
#3F66D9 #D93FB3 #D9B23F #3FD965
square
#3F66D9 #D93FB3 #D9B23F #3FD965
split-complementary
#3F66D9 #D9653F #B3D93F
monochromatic
#1A3584 #2449B7 #3F66D9 #728FE3 #A5B7ED

Accessibility & contrast

On white

5.10
#3F66D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3F66D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F66D9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F66D9#FFFFFF#000000##FFFFFF
##3F66D91.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f66d9;
/* rgb */ color: rgb(63, 102, 217);
/* oklch */ color: oklch(54.7% 0.182 266.3);
Tailwind
colors: {
  custom: {
    50: '#8791e5',
    500: '#3f66d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f66d9;
$custom-light: #8791e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f66d9",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 224.805,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.1818,
    "h": 266.3
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#3F66D9
secondary
#DACA9A
accent
#BE3EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F66D9

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

Preview Lab → · Contrast checker → · Palette generator →

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