#3B3FC2#3B3FC2

#3B3FC2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.199 H 273.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3B3FC2
RGBrgb(59, 63, 194)
HSLhsl(238, 53%, 50%)
HSVhsv(238, 70%, 76%)
CMYKcmyk(69.6%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.76, 40.89, -68.76)
CIE-LCHlch(34.76, 80.00, 300.74°)
OKLaboklab(45.45% 0.0133 -0.1987)
OKLCHoklch(45.45% 0.199 273.8)
XYZxyz(13.3155, 8.3786, 51.9440)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FC2 #C2BE3B
analogous
#3B83C2 #3B3FC2 #7A3BC2
triadic
#3B3FC2 #C23B3F #3FC23B
tetradic
#3B3FC2 #C23B83 #C2BE3B #3BC27A
square
#3B3FC2 #C23B83 #C2BE3B #3BC27A
split-complementary
#3B3FC2 #C27A3B #83C23B
monochromatic
#1E2164 #2D3093 #3B3FC2 #696CD1 #989AE0

Accessibility & contrast

On white

7.85
#3B3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3B3FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FC2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FC2#FFFFFF#000000##FFFFFF
##3B3FC21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3b3fc2;
/* rgb */ color: rgb(59, 63, 194);
/* oklch */ color: oklch(45.4% 0.199 273.8);
Tailwind
colors: {
  custom: {
    50: '#8375d6',
    500: '#3b3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fc2;
$custom-light: #8375d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fc2",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 238.222,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.19911,
    "h": 273.8
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#3B3FC2
secondary
#CBC98E
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3B3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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