#3A30B9#3A30B9

#3A30B9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.204 H 276.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3A30B9
RGBrgb(58, 48, 185)
HSLhsl(244, 59%, 46%)
HSVhsv(244, 74%, 73%)
CMYKcmyk(68.6%, 74.1%, 0%, 27.5%)
CIE-LABlab(30.68, 46.51, -70.18)
CIE-LCHlch(30.68, 84.19, 303.53°)
OKLaboklab(42.25% 0.0226 -0.2028)
OKLCHoklch(42.25% 0.204 276.4)
XYZxyz(11.5560, 6.5152, 46.5381)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30B9 #AFB930
analogous
#306AB9 #3A30B9 #7F30B9
triadic
#3A30B9 #B93A30 #30B93A
tetradic
#3A30B9 #B9306A #AFB930 #30B97F
square
#3A30B9 #B9306A #AFB930 #30B97F
split-complementary
#3A30B9 #B97F30 #6AB930
monochromatic
#1C1758 #2B2388 #3A30B9 #5D54D3 #8B84DF

Accessibility & contrast

On white

9.12
#3A30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30B9
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30B9#FFFFFF#000000##FFFFFF
##3A30B91.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a30b9;
/* rgb */ color: rgb(58, 48, 185);
/* oklch */ color: oklch(42.2% 0.204 276.4);
Tailwind
colors: {
  custom: {
    50: '#826acf',
    500: '#3a30b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a30b9;
$custom-light: #826acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30b9",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 244.38,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.20407,
    "h": 276.4
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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