#3A30BD#3A30BD

#3A30BD is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.209 H 276.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#3A30BD
RGBrgb(58, 48, 189)
HSLhsl(244, 59%, 46%)
HSVhsv(244, 75%, 74%)
CMYKcmyk(69.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(31.08, 47.78, -71.87)
CIE-LCHlch(31.08, 86.31, 303.62°)
OKLaboklab(42.65% 0.0218 -0.2077)
OKLCHoklch(42.65% 0.209 276)
XYZxyz(11.9842, 6.6865, 48.7933)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30BD #B3BD30
analogous
#306DBD #3A30BD #8130BD
triadic
#3A30BD #BD3A30 #30BD3A
tetradic
#3A30BD #BD306D #B3BD30 #30BD81
square
#3A30BD #BD306D #B3BD30 #30BD81
split-complementary
#3A30BD #BD8130 #6DBD30
monochromatic
#1C175B #2B248C #3A30BD #5F56D4 #8D87E0

Accessibility & contrast

On white

8.98
#3A30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30BD
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30BD#FFFFFF#000000##FFFFFF
##3A30BD1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a30bd;
/* rgb */ color: rgb(58, 48, 189);
/* oklch */ color: oklch(42.7% 0.209 276.0);
Tailwind
colors: {
  custom: {
    50: '#836bd2',
    500: '#3a30bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a30bd;
$custom-light: #836bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30bd",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 244.255,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.20889,
    "h": 276
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#3A30BD
secondary
#C5CA7F
accent
#E345D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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