#3A30B6#3A30B6

#3A30B6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.200 H 276.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3A30B6
RGBrgb(58, 48, 182)
HSLhsl(244, 58%, 45%)
HSVhsv(244, 74%, 71%)
CMYKcmyk(68.1%, 73.6%, 0%, 28.6%)
CIE-LABlab(30.38, 45.55, -68.89)
CIE-LCHlch(30.38, 82.59, 303.47°)
OKLaboklab(41.94% 0.0232 -0.1991)
OKLCHoklch(41.94% 0.2 276.7)
XYZxyz(11.2426, 6.3898, 44.8878)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30B6 #ACB630
analogous
#3069B6 #3A30B6 #7D30B6
triadic
#3A30B6 #B63A30 #30B63A
tetradic
#3A30B6 #B63069 #ACB630 #30B67D
square
#3A30B6 #B63069 #ACB630 #30B67D
split-complementary
#3A30B6 #B67D30 #69B630
monochromatic
#1B1655 #2B2386 #3A30B6 #5B52D1 #8982DE

Accessibility & contrast

On white

9.22
#3A30B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3A30B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30B6
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30B6#FFFFFF#000000##FFFFFF
##3A30B61.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a30b6;
/* rgb */ color: rgb(58, 48, 182);
/* oklch */ color: oklch(41.9% 0.200 276.7);
Tailwind
colors: {
  custom: {
    50: '#816acd',
    500: '#3a30b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a30b6;
$custom-light: #816acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30b6",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 244.478,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.20042,
    "h": 276.7
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#3A30B6
secondary
#C2C77B
accent
#E146D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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