#3F66B2#3F66B2

#3F66B2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.0% C 0.128 H 262.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3F66B2
RGBrgb(63, 102, 178)
HSLhsl(220, 48%, 47%)
HSVhsv(220, 65%, 70%)
CMYKcmyk(64.6%, 42.7%, 0%, 30.2%)
CIE-LABlab(43.90, 10.99, -44.57)
CIE-LCHlch(43.90, 45.90, 283.86°)
OKLaboklab(52% -0.017 -0.1271)
OKLCHoklch(52% 0.128 262.4)
XYZxyz(14.8343, 13.7725, 43.9874)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F66B2 #B28B3F
analogous
#3FA0B2 #3F66B2 #513FB2
triadic
#3F66B2 #B23F66 #66B23F
tetradic
#3F66B2 #B23FA0 #B28B3F #3FB251
square
#3F66B2 #B23FA0 #B28B3F #3FB251
split-complementary
#3F66B2 #B2513F #A0B23F
monochromatic
#1F3258 #2F4C85 #3F66B2 #6687C9 #93AAD9

Accessibility & contrast

On white

5.59
#3F66B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3F66B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F66B2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F66B2#FFFFFF#000000##FFFFFF
##3F66B21.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB5
Deuteranopia (green-blind)
#3163B0
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f66b2;
/* rgb */ color: rgb(63, 102, 178);
/* oklch */ color: oklch(52.0% 0.128 262.4);
Tailwind
colors: {
  custom: {
    50: '#7f91c9',
    500: '#3f66b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f66b2;
$custom-light: #7f91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f66b2",
  "rgb": {
    "r": 63,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 219.652,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.12821,
    "h": 262.4
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#3F66B2
secondary
#C4B089
accent
#AA50D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3F66B2

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

Preview Lab → · Contrast checker → · Palette generator →

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