#3A30BB#3A30BB

#3A30BB is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.206 H 276.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3A30BB
RGBrgb(58, 48, 187)
HSLhsl(244, 59%, 46%)
HSVhsv(244, 74%, 73%)
CMYKcmyk(69%, 74.3%, 0%, 26.7%)
CIE-LABlab(30.88, 47.15, -71.03)
CIE-LCHlch(30.88, 85.25, 303.58°)
OKLaboklab(42.45% 0.0222 -0.2053)
OKLCHoklch(42.45% 0.206 276.2)
XYZxyz(11.7686, 6.6002, 47.6578)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30BB #B1BB30
analogous
#306BBB #3A30BB #7F30BB
triadic
#3A30BB #BB3A30 #30BB3A
tetradic
#3A30BB #BB306B #B1BB30 #30BB7F
square
#3A30BB #BB306B #B1BB30 #30BB7F
split-complementary
#3A30BB #BB7F30 #6BBB30
monochromatic
#1C175A #2B238A #3A30BB #5E55D3 #8C86E0

Accessibility & contrast

On white

9.05
#3A30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30BB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30BB#FFFFFF#000000##FFFFFF
##3A30BB1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a30bb;
/* rgb */ color: rgb(58, 48, 187);
/* oklch */ color: oklch(42.4% 0.206 276.2);
Tailwind
colors: {
  custom: {
    50: '#826bd1',
    500: '#3a30bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a30bb;
$custom-light: #826bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30bb",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 244.317,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.20648,
    "h": 276.2
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#3A30BB
secondary
#C4C97D
accent
#E245D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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