#3F4CDC#3F4CDC

#3F4CDC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.2% C 0.216 H 271.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3F4CDC
RGBrgb(63, 76, 220)
HSLhsl(235, 69%, 55%)
HSVhsv(235, 71%, 86%)
CMYKcmyk(71.4%, 65.5%, 0%, 13.7%)
CIE-LABlab(40.23, 42.33, -74.81)
CIE-LCHlch(40.23, 85.96, 299.50°)
OKLaboklab(50.19% 0.0069 -0.2162)
OKLCHoklch(50.19% 0.216 271.8)
XYZxyz(17.5482, 11.3912, 68.9702)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CDC #DCCF3F
analogous
#3F9ADC #3F4CDC #803FDC
triadic
#3F4CDC #DC3F4C #4CDC3F
tetradic
#3F4CDC #DC3F9A #DCCF3F #3FDC80
square
#3F4CDC #DC3F9A #DCCF3F #3FDC80
split-complementary
#3F4CDC #DC803F #9ADC3F
monochromatic
#192288 #222FBC #3F4CDC #737CE5 #A7ADEF

Accessibility & contrast

On white

6.41
#3F4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F4CDC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CDC#FFFFFF#000000##FFFFFF
##3F4CDC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f4cdc;
/* rgb */ color: rgb(63, 76, 220);
/* oklch */ color: oklch(50.2% 0.216 271.8);
Tailwind
colors: {
  custom: {
    50: '#897ee8',
    500: '#3f4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cdc;
$custom-light: #897ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cdc",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 235.032,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.21636,
    "h": 271.8
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#3F4CDC
secondary
#DCD79B
accent
#DD3CEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3F4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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