#3F54C2#3F54C2

#3F54C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.173 H 270.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#3F54C2
RGBrgb(63, 84, 194)
HSLhsl(230, 52%, 50%)
HSVhsv(230, 68%, 76%)
CMYKcmyk(67.5%, 56.7%, 0%, 23.9%)
CIE-LABlab(40.07, 28.26, -60.08)
CIE-LCHlch(40.07, 66.40, 295.19°)
OKLaboklab(49.42% 0.0018 -0.173)
OKLCHoklch(49.42% 0.173 270.6)
XYZxyz(14.9545, 11.2910, 52.4198)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54C2 #C2AD3F
analogous
#3F95C2 #3F54C2 #6C3FC2
triadic
#3F54C2 #C23F54 #54C23F
tetradic
#3F54C2 #C23F95 #C2AD3F #3FC26C
square
#3F54C2 #C23F95 #C2AD3F #3FC26C
split-complementary
#3F54C2 #C26C3F #95C23F
monochromatic
#202C66 #2F3F95 #3F54C2 #6D7DD1 #9CA7E0

Accessibility & contrast

On white

6.44
#3F54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3F54C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54C2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54C2#FFFFFF#000000##FFFFFF
##3F54C21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f54c2;
/* rgb */ color: rgb(63, 84, 194);
/* oklch */ color: oklch(49.4% 0.173 270.6);
Tailwind
colors: {
  custom: {
    50: '#8383d5',
    500: '#3f54c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f54c2;
$custom-light: #8383d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54c2",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 230.382,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.17297,
    "h": 270.6
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#3F54C2
secondary
#CCC291
accent
#C44DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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