#3A30AF#3A30AF

#3A30AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.192 H 277.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3A30AF
RGBrgb(58, 48, 175)
HSLhsl(245, 57%, 44%)
HSVhsv(245, 73%, 69%)
CMYKcmyk(66.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.68, 43.29, -65.86)
CIE-LCHlch(29.68, 78.81, 303.31°)
OKLaboklab(41.24% 0.0246 -0.1902)
OKLCHoklch(41.24% 0.192 277.4)
XYZxyz(10.5372, 6.1077, 41.1727)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30AF #A5AF30
analogous
#3065AF #3A30AF #7930AF
triadic
#3A30AF #AF3A30 #30AF3A
tetradic
#3A30AF #AF3065 #A5AF30 #30AF79
square
#3A30AF #AF3065 #A5AF30 #30AF79
split-complementary
#3A30AF #AF7930 #65AF30
monochromatic
#1A164F #2A237F #3A30AF #584ECE #857EDC

Accessibility & contrast

On white

9.45
#3A30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30AF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30AF#FFFFFF#000000##FFFFFF
##3A30AF1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a30af;
/* rgb */ color: rgb(58, 48, 175);
/* oklch */ color: oklch(41.2% 0.192 277.4);
Tailwind
colors: {
  custom: {
    50: '#806ac8',
    500: '#3a30af',
    950: '#000000',
  },
}
SCSS
$custom: #3a30af;
$custom-light: #806ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30af",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 244.724,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.1918,
    "h": 277.4
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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