#3F4EBA#3F4EBA

#3F4EBA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.170 H 272.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3F4EBA
RGBrgb(63, 78, 186)
HSLhsl(233, 49%, 49%)
HSVhsv(233, 66%, 73%)
CMYKcmyk(66.1%, 58.1%, 0%, 27.1%)
CIE-LABlab(37.93, 29.28, -58.88)
CIE-LCHlch(37.93, 65.75, 296.44°)
OKLaboklab(47.64% 0.0067 -0.1695)
OKLCHoklch(47.64% 0.17 272.3)
XYZxyz(13.6342, 10.0495, 47.6661)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EBA #BAAB3F
analogous
#3F8CBA #3F4EBA #6E3FBA
triadic
#3F4EBA #BA3F4E #4EBA3F
tetradic
#3F4EBA #BA3F8C #BAAB3F #3FBA6E
square
#3F4EBA #BA3F8C #BAAB3F #3FBA6E
split-complementary
#3F4EBA #BA6E3F #8CBA3F
monochromatic
#20285F #303B8C #3F4EBA #6A76CC #97A0DC

Accessibility & contrast

On white

6.98
#3F4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3F4EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4EBA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EBA#FFFFFF#000000##FFFFFF
##3F4EBA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f4eba;
/* rgb */ color: rgb(63, 78, 186);
/* oklch */ color: oklch(47.6% 0.170 272.3);
Tailwind
colors: {
  custom: {
    50: '#827fd0',
    500: '#3f4eba',
    950: '#000000',
  },
}
SCSS
$custom: #3f4eba;
$custom-light: #827fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4eba",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 232.683,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.16961,
    "h": 272.3
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#3F4EBA
secondary
#C8C18D
accent
#C84FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3F4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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