#3A30BC#3A30BC

#3A30BC is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.6% C 0.208 H 276.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3A30BC
RGBrgb(58, 48, 188)
HSLhsl(244, 59%, 46%)
HSVhsv(244, 74%, 74%)
CMYKcmyk(69.1%, 74.5%, 0%, 26.3%)
CIE-LABlab(30.98, 47.46, -71.45)
CIE-LCHlch(30.98, 85.78, 303.60°)
OKLaboklab(42.55% 0.022 -0.2065)
OKLCHoklch(42.55% 0.208 276.1)
XYZxyz(11.8760, 6.6432, 48.2236)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30BC #B2BC30
analogous
#306CBC #3A30BC #8030BC
triadic
#3A30BC #BC3A30 #30BC3A
tetradic
#3A30BC #BC306C #B2BC30 #30BC80
square
#3A30BC #BC306C #B2BC30 #30BC80
split-complementary
#3A30BC #BC8030 #6CBC30
monochromatic
#1C175A #2B248B #3A30BC #5F55D4 #8D86E0

Accessibility & contrast

On white

9.02
#3A30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30BC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30BC#FFFFFF#000000##FFFFFF
##3A30BC1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a30bc;
/* rgb */ color: rgb(58, 48, 188);
/* oklch */ color: oklch(42.6% 0.208 276.1);
Tailwind
colors: {
  custom: {
    50: '#836bd1',
    500: '#3a30bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a30bc;
$custom-light: #836bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30bc",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 244.286,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.20769,
    "h": 276.1
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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