#3F3DBF#3F3DBF

#3F3DBF is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.197 H 275.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3F3DBF
RGBrgb(63, 61, 191)
HSLhsl(241, 52%, 49%)
HSVhsv(241, 68%, 75%)
CMYKcmyk(67%, 68.1%, 0%, 25.1%)
CIE-LABlab(34.30, 41.58, -67.74)
CIE-LCHlch(34.30, 79.48, 301.54°)
OKLaboklab(45.1% 0.0197 -0.1956)
OKLCHoklch(45.1% 0.197 275.8)
XYZxyz(13.1195, 8.1547, 50.1627)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DBF #BDBF3D
analogous
#3D7CBF #3F3DBF #803DBF
triadic
#3F3DBF #BF3F3D #3DBF3F
tetradic
#3F3DBF #BF3D7C #BDBF3D #3DBF80
square
#3F3DBF #BF3D7C #BDBF3D #3DBF80
split-complementary
#3F3DBF #BF803D #7CBF3D
monochromatic
#201F62 #302E91 #3F3DBF #6B6ACF #9998DE

Accessibility & contrast

On white

7.98
#3F3DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F3DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DBF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DBF#FFFFFF#000000##FFFFFF
##3F3DBF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3dbf;
/* rgb */ color: rgb(63, 61, 191);
/* oklch */ color: oklch(45.1% 0.197 275.8);
Tailwind
colors: {
  custom: {
    50: '#8473d3',
    500: '#3f3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dbf;
$custom-light: #8473d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dbf",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 240.923,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.19658,
    "h": 275.8
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#3F3DBF
secondary
#C9CA8E
accent
#DB4DD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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