#3F55CA#3F55CA

#3F55CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.182 H 270.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3F55CA
RGBrgb(63, 85, 202)
HSLhsl(231, 57%, 52%)
HSVhsv(231, 69%, 79%)
CMYKcmyk(68.8%, 57.9%, 0%, 20.8%)
CIE-LABlab(40.92, 30.46, -63.33)
CIE-LCHlch(40.92, 70.28, 295.69°)
OKLaboklab(50.25% 0.0011 -0.1825)
OKLCHoklch(50.25% 0.183 270.4)
XYZxyz(15.9554, 11.8165, 57.3056)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F55CA #CAB43F
analogous
#3F9ACA #3F55CA #6F3FCA
triadic
#3F55CA #CA3F55 #55CA3F
tetradic
#3F55CA #CA3F9A #CAB43F #3FCA6F
square
#3F55CA #CA3F9A #CAB43F #3FCA6F
split-complementary
#3F55CA #CA6F3F #9ACA3F
monochromatic
#1F2C70 #2C3EA0 #3F55CA #6F7FD7 #9FAAE4

Accessibility & contrast

On white

6.24
#3F55CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3F55CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F55CA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F55CA#FFFFFF#000000##FFFFFF
##3F55CA1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f55ca;
/* rgb */ color: rgb(63, 85, 202);
/* oklch */ color: oklch(50.2% 0.182 270.4);
Tailwind
colors: {
  custom: {
    50: '#8584db',
    500: '#3f55ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f55ca;
$custom-light: #8584db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f55ca",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 230.504,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.1825,
    "h": 270.4
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#3F55CA
secondary
#D1C794
accent
#C848E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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