#3B30B7#3B30B7

#3B30B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.201 H 276.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3B30B7
RGBrgb(59, 48, 183)
HSLhsl(245, 58%, 45%)
HSVhsv(245, 74%, 72%)
CMYKcmyk(67.8%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.55, 45.98, -69.20)
CIE-LCHlch(30.55, 83.08, 303.60°)
OKLaboklab(42.11% 0.0243 -0.1999)
OKLCHoklch(42.11% 0.201 276.9)
XYZxyz(11.4050, 6.4616, 45.4367)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30B7 #ACB730
analogous
#3068B7 #3B30B7 #7F30B7
triadic
#3B30B7 #B73B30 #30B73B
tetradic
#3B30B7 #B73068 #ACB730 #30B77F
square
#3B30B7 #B73068 #ACB730 #30B77F
split-complementary
#3B30B7 #B77F30 #68B730
monochromatic
#1C1756 #2B2387 #3B30B7 #5D52D2 #8A83DE

Accessibility & contrast

On white

9.16
#3B30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3B30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B30B7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30B7#FFFFFF#000000##FFFFFF
##3B30B71.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3b30b7;
/* rgb */ color: rgb(59, 48, 183);
/* oklch */ color: oklch(42.1% 0.201 276.9);
Tailwind
colors: {
  custom: {
    50: '#826ace',
    500: '#3b30b7',
    950: '#000000',
  },
}
SCSS
$custom: #3b30b7;
$custom-light: #826ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30b7",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 244.889,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.20141,
    "h": 276.9
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#3B30B7
secondary
#C1C87B
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3B30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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