#3B3FBA#3B3FBA

#3B3FBA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.189 H 274.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3B3FBA
RGBrgb(59, 63, 186)
HSLhsl(238, 52%, 48%)
HSVhsv(238, 68%, 73%)
CMYKcmyk(68.3%, 66.1%, 0%, 27.1%)
CIE-LABlab(34.04, 38.17, -65.23)
CIE-LCHlch(34.04, 75.58, 300.33°)
OKLaboklab(44.71% 0.0141 -0.1883)
OKLCHoklch(44.71% 0.189 274.3)
XYZxyz(12.4411, 8.0288, 47.3389)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FBA #BAB63B
analogous
#3B7EBA #3B3FBA #763BBA
triadic
#3B3FBA #BA3B3F #3FBA3B
tetradic
#3B3FBA #BA3B7E #BAB63B #3BBA76
square
#3B3FBA #BA3B7E #BAB63B #3BBA76
split-complementary
#3B3FBA #BA763B #7EBA3B
monochromatic
#1E205D #2C2F8C #3B3FBA #6468CE #9395DD

Accessibility & contrast

On white

8.06
#3B3FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3B3FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FBA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FBA#FFFFFF#000000##FFFFFF
##3B3FBA1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b3fba;
/* rgb */ color: rgb(59, 63, 186);
/* oklch */ color: oklch(44.7% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#8174d0',
    500: '#3b3fba',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fba;
$custom-light: #8174d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fba",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 238.11,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.18888,
    "h": 274.3
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#3B3FBA
secondary
#C8C689
accent
#D74DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3B3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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