#3B30AA#3B30AA

#3B30AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.185 H 278.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3B30AA
RGBrgb(59, 48, 170)
HSLhsl(245, 56%, 43%)
HSVhsv(245, 72%, 67%)
CMYKcmyk(65.3%, 71.8%, 0%, 33.3%)
CIE-LABlab(29.27, 41.79, -63.54)
CIE-LCHlch(29.27, 76.05, 303.33°)
OKLaboklab(40.82% 0.0269 -0.1834)
OKLCHoklch(40.82% 0.185 278.3)
XYZxyz(10.1139, 5.9452, 38.6370)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30AA #9FAA30
analogous
#3062AA #3B30AA #7830AA
triadic
#3B30AA #AA3B30 #30AA3B
tetradic
#3B30AA #AA3062 #9FAA30 #30AA78
square
#3B30AA #AA3062 #9FAA30 #30AA78
split-complementary
#3B30AA #AA7830 #62AA30
monochromatic
#1A154B #2A237A #3B30AA #574BCC #837BDA

Accessibility & contrast

On white

9.59
#3B30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3B30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B30AA
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30AA#FFFFFF#000000##FFFFFF
##3B30AA1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b30aa;
/* rgb */ color: rgb(59, 48, 170);
/* oklch */ color: oklch(40.8% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#7f6ac4',
    500: '#3b30aa',
    950: '#000000',
  },
}
SCSS
$custom: #3b30aa;
$custom-light: #7f6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30aa",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 245.41,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.18535,
    "h": 278.3
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#3B30AA
secondary
#BBC274
accent
#DF49D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3B30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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