#3A30BA#3A30BA

#3A30BA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.3% C 0.205 H 276.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3A30BA
RGBrgb(58, 48, 186)
HSLhsl(244, 59%, 46%)
HSVhsv(244, 74%, 73%)
CMYKcmyk(68.8%, 74.2%, 0%, 27.1%)
CIE-LABlab(30.78, 46.83, -70.60)
CIE-LCHlch(30.78, 84.72, 303.55°)
OKLaboklab(42.35% 0.0224 -0.204)
OKLCHoklch(42.35% 0.205 276.3)
XYZxyz(11.6619, 6.5576, 47.0960)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30BA #B0BA30
analogous
#306BBA #3A30BA #7F30BA
triadic
#3A30BA #BA3A30 #30BA3A
tetradic
#3A30BA #BA306B #B0BA30 #30BA7F
square
#3A30BA #BA306B #B0BA30 #30BA7F
split-complementary
#3A30BA #BA7F30 #6BBA30
monochromatic
#1C1759 #2B2389 #3A30BA #5D54D3 #8B85DF

Accessibility & contrast

On white

9.08
#3A30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30BA
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30BA#FFFFFF#000000##FFFFFF
##3A30BA1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a30ba;
/* rgb */ color: rgb(58, 48, 186);
/* oklch */ color: oklch(42.3% 0.205 276.3);
Tailwind
colors: {
  custom: {
    50: '#826bd0',
    500: '#3a30ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a30ba;
$custom-light: #826bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30ba",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 244.348,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.20528,
    "h": 276.3
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#3A30BA
secondary
#C3C97D
accent
#E246D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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