#3F54CA#3F54CA

#3F54CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.184 H 270.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3F54CA
RGBrgb(63, 84, 202)
HSLhsl(231, 57%, 52%)
HSVhsv(231, 69%, 79%)
CMYKcmyk(68.8%, 58.4%, 0%, 20.8%)
CIE-LABlab(40.67, 31.10, -63.74)
CIE-LCHlch(40.67, 70.93, 296.01°)
OKLaboklab(50.06% 0.0019 -0.1837)
OKLCHoklch(50.06% 0.184 270.6)
XYZxyz(15.8773, 11.6601, 57.2796)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F54CA #CAB53F
analogous
#3F9ACA #3F54CA #6F3FCA
triadic
#3F54CA #CA3F54 #54CA3F
tetradic
#3F54CA #CA3F9A #CAB53F #3FCA6F
square
#3F54CA #CA3F9A #CAB53F #3FCA6F
split-complementary
#3F54CA #CA6F3F #9ACA3F
monochromatic
#1F2B70 #2C3EA0 #3F54CA #6F7FD7 #9FA9E4

Accessibility & contrast

On white

6.30
#3F54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F54CA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F54CA#FFFFFF#000000##FFFFFF
##3F54CA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f54ca;
/* rgb */ color: rgb(63, 84, 202);
/* oklch */ color: oklch(50.1% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#8584db',
    500: '#3f54ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f54ca;
$custom-light: #8584db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f54ca",
  "rgb": {
    "r": 63,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 230.935,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.18373,
    "h": 270.6
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#3F54CA
secondary
#D1C894
accent
#C948E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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