#3A30AC#3A30AC

#3A30AC is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.188 H 277.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3A30AC
RGBrgb(58, 48, 172)
HSLhsl(245, 56%, 43%)
HSVhsv(245, 72%, 67%)
CMYKcmyk(66.3%, 72.1%, 0%, 32.5%)
CIE-LABlab(29.39, 42.32, -64.55)
CIE-LCHlch(29.39, 77.18, 303.25°)
OKLaboklab(40.94% 0.0252 -0.1864)
OKLCHoklch(40.94% 0.188 277.7)
XYZxyz(10.2459, 5.9911, 39.6382)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30AC #A2AC30
analogous
#3064AC #3A30AC #7830AC
triadic
#3A30AC #AC3A30 #30AC3A
tetradic
#3A30AC #AC3064 #A2AC30 #30AC78
square
#3A30AC #AC3064 #A2AC30 #30AC78
split-complementary
#3A30AC #AC7830 #64AC30
monochromatic
#1A154C #2A237C #3A30AC #574CCD #847CDA

Accessibility & contrast

On white

9.55
#3A30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30AC
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30AC#FFFFFF#000000##FFFFFF
##3A30AC1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a30ac;
/* rgb */ color: rgb(58, 48, 172);
/* oklch */ color: oklch(40.9% 0.188 277.7);
Tailwind
colors: {
  custom: {
    50: '#7f6ac6',
    500: '#3a30ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a30ac;
$custom-light: #7f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30ac",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 244.839,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40943,
    "c": 0.18807,
    "h": 277.7
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#3A30AC
secondary
#BDC375
accent
#E048D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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