#3B30B4#3B30B4

#3B30B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.198 H 277.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3B30B4
RGBrgb(59, 48, 180)
HSLhsl(245, 58%, 45%)
HSVhsv(245, 73%, 71%)
CMYKcmyk(67.2%, 73.3%, 0%, 29.4%)
CIE-LABlab(30.25, 45.02, -67.91)
CIE-LCHlch(30.25, 81.48, 303.54°)
OKLaboklab(41.81% 0.0249 -0.1962)
OKLCHoklch(41.81% 0.198 277.2)
XYZxyz(11.0961, 6.3380, 43.8098)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30B4 #A9B430
analogous
#3067B4 #3B30B4 #7D30B4
triadic
#3B30B4 #B43B30 #30B43B
tetradic
#3B30B4 #B43067 #A9B430 #30B47D
square
#3B30B4 #B43067 #A9B430 #30B47D
split-complementary
#3B30B4 #B47D30 #67B430
monochromatic
#1B1653 #2B2384 #3B30B4 #5B51D1 #8981DD

Accessibility & contrast

On white

9.26
#3B30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3B30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B30B4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30B4#FFFFFF#000000##FFFFFF
##3B30B41.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b30b4;
/* rgb */ color: rgb(59, 48, 180);
/* oklch */ color: oklch(41.8% 0.198 277.2);
Tailwind
colors: {
  custom: {
    50: '#816acc',
    500: '#3b30b4',
    950: '#000000',
  },
}
SCSS
$custom: #3b30b4;
$custom-light: #816acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30b4",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 245,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41811,
    "c": 0.19775,
    "h": 277.2
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#3B30B4
secondary
#C0C679
accent
#E147D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3B30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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