#3F54CE#3F54CE

#3F54CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.189 H 270.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3F54CE
RGBrgb(63, 84, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 69%, 81%)
CMYKcmyk(69.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(40.98, 32.51, -65.55)
CIE-LCHlch(40.98, 73.17, 296.38°)
OKLaboklab(50.39% 0.002 -0.189)
OKLCHoklch(50.39% 0.189 270.6)
XYZxyz(16.3570, 11.8520, 59.8062)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54CE #CEB93F
analogous
#3F9BCE #3F54CE #723FCE
triadic
#3F54CE #CE3F54 #54CE3F
tetradic
#3F54CE #CE3F9B #CEB93F #3FCE72
square
#3F54CE #CE3F9B #CEB93F #3FCE72
split-complementary
#3F54CE #CE723F #9BCE3F
monochromatic
#1E2B75 #2A3CA6 #3F54CE #707FDA #A1ABE7

Accessibility & contrast

On white

6.23
#3F54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54CE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54CE#FFFFFF#000000##FFFFFF
##3F54CE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f54ce;
/* rgb */ color: rgb(63, 84, 206);
/* oklch */ color: oklch(50.4% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#8684de',
    500: '#3f54ce',
    950: '#000000',
  },
}
SCSS
$custom: #3f54ce;
$custom-light: #8684de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54ce",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 231.189,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.18904,
    "h": 270.6
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#3F54CE
secondary
#D3CA95
accent
#CB45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3F54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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