#3F66C8#3F66C8

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

Color values

HEX#3F66C8
RGBrgb(63, 102, 200)
HSLhsl(223, 55%, 52%)
HSVhsv(223, 69%, 78%)
CMYKcmyk(68.5%, 49%, 0%, 21.6%)
CIE-LABlab(45.26, 18.89, -55.16)
CIE-LCHlch(45.26, 58.31, 288.90°)
OKLaboklab(53.47% -0.0135 -0.1582)
OKLCHoklch(53.47% 0.159 265.1)
XYZxyz(17.2229, 14.7279, 56.5675)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F66C8 #C8A13F
analogous
#3FABC8 #3F66C8 #5D3FC8
triadic
#3F66C8 #C83F66 #66C83F
tetradic
#3F66C8 #C83FAB #C8A13F #3FC85D
square
#3F66C8 #C83FAB #C8A13F #3FC85D
split-complementary
#3F66C8 #C85D3F #ABC83F
monochromatic
#1F366D #2D4D9D #3F66C8 #6F8CD6 #9EB2E3

Accessibility & contrast

On white

5.32
#3F66C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3F66C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F66C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F66C8#FFFFFF#000000##FFFFFF
##3F66C81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#0365C6
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f66c8;
/* rgb */ color: rgb(63, 102, 200);
/* oklch */ color: oklch(53.5% 0.159 265.1);
Tailwind
colors: {
  custom: {
    50: '#8391d9',
    500: '#3f66c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f66c8;
$custom-light: #8391d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f66c8",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 222.92,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53474,
    "c": 0.15879,
    "h": 265.1
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#3F66C8
secondary
#D0BE93
accent
#B449DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F66C8

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

Preview Lab → · Contrast checker → · Palette generator →

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