#3B3EA2#3B3EA2

#3B3EA2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.158 H 276.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3B3EA2
RGBrgb(59, 62, 162)
HSLhsl(238, 47%, 43%)
HSVhsv(238, 64%, 64%)
CMYKcmyk(63.6%, 61.7%, 0%, 36.5%)
CIE-LABlab(31.77, 30.51, -54.64)
CIE-LCHlch(31.77, 62.58, 299.18°)
OKLaboklab(42.41% 0.0166 -0.1573)
OKLCHoklch(42.41% 0.158 276)
XYZxyz(10.0457, 6.9829, 34.9939)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3EA2 #A29F3B
analogous
#3B71A2 #3B3EA2 #6B3BA2
triadic
#3B3EA2 #A23B3E #3EA23B
tetradic
#3B3EA2 #A23B71 #A29F3B #3BA26B
square
#3B3EA2 #A23B71 #A29F3B #3BA26B
split-complementary
#3B3EA2 #A26B3B #71A23B
monochromatic
#1A1C48 #2B2D75 #3B3EA2 #585BC2 #8587D3

Accessibility & contrast

On white

8.76
#3B3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3B3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3EA2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3EA2#FFFFFF#000000##FFFFFF
##3B3EA21.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3ea2;
/* rgb */ color: rgb(59, 62, 162);
/* oklch */ color: oklch(42.4% 0.158 276.0);
Tailwind
colors: {
  custom: {
    50: '#7d73be',
    500: '#3b3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3b3ea2;
$custom-light: #7d73be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3ea2",
  "rgb": {
    "r": 59,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 238.252,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.15815,
    "h": 276
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#3B3EA2
secondary
#BDBB7C
accent
#D252D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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