#3F64B2#3F64B2

#3F64B2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.131 H 263.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3F64B2
RGBrgb(63, 100, 178)
HSLhsl(221, 48%, 47%)
HSVhsv(221, 65%, 70%)
CMYKcmyk(64.6%, 43.8%, 0%, 30.2%)
CIE-LABlab(43.34, 12.26, -45.47)
CIE-LCHlch(43.34, 47.10, 285.09°)
OKLaboklab(51.56% -0.015 -0.1298)
OKLCHoklch(51.56% 0.131 263.4)
XYZxyz(14.6401, 13.3841, 43.9227)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64B2 #B28D3F
analogous
#3F9DB2 #3F64B2 #543FB2
triadic
#3F64B2 #B23F64 #64B23F
tetradic
#3F64B2 #B23F9D #B28D3F #3FB254
square
#3F64B2 #B23F9D #B28D3F #3FB254
split-complementary
#3F64B2 #B2543F #9DB23F
monochromatic
#1F3158 #2F4B85 #3F64B2 #6685C9 #93A9D9

Accessibility & contrast

On white

5.71
#3F64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64B2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64B2#FFFFFF#000000##FFFFFF
##3F64B21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f64b2;
/* rgb */ color: rgb(63, 100, 178);
/* oklch */ color: oklch(51.6% 0.131 263.4);
Tailwind
colors: {
  custom: {
    50: '#7f8fc9',
    500: '#3f64b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f64b2;
$custom-light: #7f8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64b2",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 220.696,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.13062,
    "h": 263.4
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#3F64B2
secondary
#C4B189
accent
#AC50D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3F64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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