#3A30AE#3A30AE

#3A30AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.191 H 277.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3A30AE
RGBrgb(58, 48, 174)
HSLhsl(245, 57%, 44%)
HSVhsv(245, 72%, 68%)
CMYKcmyk(66.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(29.58, 42.97, -65.43)
CIE-LCHlch(29.58, 78.27, 303.29°)
OKLaboklab(41.14% 0.0248 -0.1889)
OKLCHoklch(41.14% 0.191 277.5)
XYZxyz(10.4394, 6.0685, 40.6574)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30AE #A4AE30
analogous
#3065AE #3A30AE #7930AE
triadic
#3A30AE #AE3A30 #30AE3A
tetradic
#3A30AE #AE3065 #A4AE30 #30AE79
square
#3A30AE #AE3065 #A4AE30 #30AE79
split-complementary
#3A30AE #AE7930 #65AE30
monochromatic
#1A164E #2A237E #3A30AE #574DCE #857DDB

Accessibility & contrast

On white

9.49
#3A30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3A30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30AE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30AE#FFFFFF#000000##FFFFFF
##3A30AE1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a30ae;
/* rgb */ color: rgb(58, 48, 174);
/* oklch */ color: oklch(41.1% 0.191 277.5);
Tailwind
colors: {
  custom: {
    50: '#806ac7',
    500: '#3a30ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a30ae;
$custom-light: #806ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30ae",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 244.762,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41141,
    "c": 0.19056,
    "h": 277.5
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#3A30AE
secondary
#BEC476
accent
#E048D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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