#3B30B2#3B30B2

#3B30B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.195 H 277.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3B30B2
RGBrgb(59, 48, 178)
HSLhsl(245, 58%, 44%)
HSVhsv(245, 73%, 70%)
CMYKcmyk(66.9%, 73%, 0%, 30.2%)
CIE-LABlab(30.05, 44.38, -67.04)
CIE-LCHlch(30.05, 80.40, 303.50°)
OKLaboklab(41.61% 0.0253 -0.1936)
OKLCHoklch(41.61% 0.195 277.5)
XYZxyz(10.8939, 6.2571, 42.7445)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30B2 #A7B230
analogous
#3066B2 #3B30B2 #7C30B2
triadic
#3B30B2 #B23B30 #30B23B
tetradic
#3B30B2 #B23066 #A7B230 #30B27C
square
#3B30B2 #B23066 #A7B230 #30B27C
split-complementary
#3B30B2 #B27C30 #66B230
monochromatic
#1B1652 #2B2382 #3B30B2 #5A50D0 #8880DD

Accessibility & contrast

On white

9.33
#3B30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3B30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B30B2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30B2#FFFFFF#000000##FFFFFF
##3B30B21.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b30b2;
/* rgb */ color: rgb(59, 48, 178);
/* oklch */ color: oklch(41.6% 0.195 277.5);
Tailwind
colors: {
  custom: {
    50: '#816aca',
    500: '#3b30b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b30b2;
$custom-light: #816aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30b2",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 245.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41611,
    "c": 0.19529,
    "h": 277.5
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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