#3A30D3#3A30D3

#3A30D3 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 45.0% C 0.235 H 274.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3A30D3
RGBrgb(58, 48, 211)
HSLhsl(244, 65%, 51%)
HSVhsv(244, 77%, 83%)
CMYKcmyk(72.5%, 77.3%, 0%, 17.3%)
CIE-LABlab(33.38, 54.65, -80.93)
CIE-LCHlch(33.38, 97.65, 304.03°)
OKLaboklab(44.95% 0.017 -0.2341)
OKLCHoklch(44.95% 0.235 274.2)
XYZxyz(14.5558, 7.7151, 62.3374)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30D3 #C9D330
analogous
#3077D3 #3A30D3 #8B30D3
triadic
#3A30D3 #D33A30 #30D33A
tetradic
#3A30D3 #D33077 #C9D330 #30D38B
square
#3A30D3 #D33077 #C9D330 #30D38B
split-complementary
#3A30D3 #D38B30 #77D330
monochromatic
#1D1871 #2B23A3 #3A30D3 #6A62DE #9A95E8

Accessibility & contrast

On white

8.26
#3A30D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A30D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30D3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30D3#FFFFFF#000000##FFFFFF
##3A30D31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D8
Deuteranopia (green-blind)
#0047D0
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a30d3;
/* rgb */ color: rgb(58, 48, 211);
/* oklch */ color: oklch(45.0% 0.235 274.2);
Tailwind
colors: {
  custom: {
    50: '#886ce2',
    500: '#3a30d3',
    950: '#000000',
  },
}
SCSS
$custom: #3a30d3;
$custom-light: #886ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30d3",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 243.681,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.23471,
    "h": 274.2
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#3A30D3
secondary
#CFD48B
accent
#E840DE
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3A30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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