#3B3FA8#3B3FA8

#3B3FA8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.165 H 275.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3B3FA8
RGBrgb(59, 63, 168)
HSLhsl(238, 48%, 45%)
HSVhsv(238, 65%, 66%)
CMYKcmyk(64.9%, 62.5%, 0%, 34.1%)
CIE-LABlab(32.50, 31.95, -57.04)
CIE-LCHlch(32.50, 65.38, 299.25°)
OKLaboklab(43.11% 0.0154 -0.1643)
OKLCHoklch(43.11% 0.165 275.4)
XYZxyz(10.6467, 7.3111, 37.8883)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FA8 #A8A43B
analogous
#3B76A8 #3B3FA8 #6E3BA8
triadic
#3B3FA8 #A83B3F #3FA83B
tetradic
#3B3FA8 #A83B76 #A8A43B #3BA86E
square
#3B3FA8 #A83B76 #A8A43B #3BA86E
split-complementary
#3B3FA8 #A86E3B #76A83B
monochromatic
#1B1D4D #2B2E7B #3B3FA8 #5B5FC5 #888BD5

Accessibility & contrast

On white

8.53
#3B3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3B3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FA8
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FA8#FFFFFF#000000##FFFFFF
##3B3FA81.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b3fa8;
/* rgb */ color: rgb(59, 63, 168);
/* oklch */ color: oklch(43.1% 0.165 275.4);
Tailwind
colors: {
  custom: {
    50: '#7e74c3',
    500: '#3b3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fa8;
$custom-light: #7e74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fa8",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 237.798,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.16506,
    "h": 275.4
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#3B3FA8
secondary
#C0BD7F
accent
#D350D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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