#3B30B3#3B30B3

#3B30B3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.197 H 277.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3B30B3
RGBrgb(59, 48, 179)
HSLhsl(245, 58%, 45%)
HSVhsv(245, 73%, 70%)
CMYKcmyk(67%, 73.2%, 0%, 29.8%)
CIE-LABlab(30.15, 44.70, -67.48)
CIE-LCHlch(30.15, 80.94, 303.52°)
OKLaboklab(41.71% 0.0251 -0.1949)
OKLCHoklch(41.71% 0.197 277.3)
XYZxyz(10.9946, 6.2974, 43.2752)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30B3 #A8B330
analogous
#3067B3 #3B30B3 #7D30B3
triadic
#3B30B3 #B33B30 #30B33B
tetradic
#3B30B3 #B33067 #A8B330 #30B37D
square
#3B30B3 #B33067 #A8B330 #30B37D
split-complementary
#3B30B3 #B37D30 #67B330
monochromatic
#1B1652 #2B2383 #3B30B3 #5B50D0 #8880DD

Accessibility & contrast

On white

9.29
#3B30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3B30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B30B3
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30B3#FFFFFF#000000##FFFFFF
##3B30B31.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b30b3;
/* rgb */ color: rgb(59, 48, 179);
/* oklch */ color: oklch(41.7% 0.197 277.3);
Tailwind
colors: {
  custom: {
    50: '#816acb',
    500: '#3b30b3',
    950: '#000000',
  },
}
SCSS
$custom: #3b30b3;
$custom-light: #816acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30b3",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 245.038,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.19651,
    "h": 277.3
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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