#3F52CB#3F52CB

#3F52CB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.187 H 271.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3F52CB
RGBrgb(63, 82, 203)
HSLhsl(232, 57%, 52%)
HSVhsv(232, 69%, 80%)
CMYKcmyk(69%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.25, 32.72, -65.01)
CIE-LCHlch(40.25, 72.78, 296.72°)
OKLaboklab(49.77% 0.0035 -0.1875)
OKLCHoklch(49.77% 0.187 271.1)
XYZxyz(15.8430, 11.4016, 57.8541)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F52CB #CBB83F
analogous
#3F98CB #3F52CB #723FCB
triadic
#3F52CB #CB3F52 #52CB3F
tetradic
#3F52CB #CB3F98 #CBB83F #3FCB72
square
#3F52CB #CB3F98 #CBB83F #3FCB72
split-complementary
#3F52CB #CB723F #98CB3F
monochromatic
#1F2A71 #2C3CA1 #3F52CB #6F7DD8 #9FA9E5

Accessibility & contrast

On white

6.40
#3F52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3F52CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F52CB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F52CB#FFFFFF#000000##FFFFFF
##3F52CB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f52cb;
/* rgb */ color: rgb(63, 82, 203);
/* oklch */ color: oklch(49.8% 0.187 271.1);
Tailwind
colors: {
  custom: {
    50: '#8582dc',
    500: '#3f52cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f52cb;
$custom-light: #8582dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f52cb",
  "rgb": {
    "r": 63,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 231.857,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.18749,
    "h": 271.1
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#3F52CB
secondary
#D1C994
accent
#CC47E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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