#3F43D5#3F43D5

#3F43D5 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.217 H 273.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3F43D5
RGBrgb(63, 67, 213)
HSLhsl(238, 64%, 54%)
HSVhsv(238, 70%, 84%)
CMYKcmyk(70.4%, 68.5%, 0%, 16.5%)
CIE-LABlab(37.61, 45.34, -75.09)
CIE-LCHlch(37.61, 87.72, 301.12°)
OKLaboklab(48.1% 0.0131 -0.2171)
OKLCHoklch(48.1% 0.217 273.5)
XYZxyz(16.0633, 9.8736, 63.9971)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F43D5 #D5D13F
analogous
#3F8ED5 #3F43D5 #863FD5
triadic
#3F43D5 #D53F43 #43D53F
tetradic
#3F43D5 #D53F8E #D5D13F #3FD586
square
#3F43D5 #D53F8E #D5D13F #3FD586
split-complementary
#3F43D5 #D5863F #8ED53F
monochromatic
#1C1E7E #272AB0 #3F43D5 #7174E0 #A3A5EB

Accessibility & contrast

On white

7.06
#3F43D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F43D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F43D5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F43D5#FFFFFF#000000##FFFFFF
##3F43D51.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0051D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f43d5;
/* rgb */ color: rgb(63, 67, 213);
/* oklch */ color: oklch(48.1% 0.217 273.5);
Tailwind
colors: {
  custom: {
    50: '#8878e3',
    500: '#3f43d5',
    950: '#000000',
  },
}
SCSS
$custom: #3f43d5;
$custom-light: #8878e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f43d5",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 238.4,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48104,
    "c": 0.21748,
    "h": 273.5
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#3F43D5
secondary
#D8D698
accent
#E341E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F43D5

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

Preview Lab → · Contrast checker → · Palette generator →

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