#3030BA#3030BA

#3030BA is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.208 H 272.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3030BA
RGBrgb(48, 48, 186)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(74.2%, 74.2%, 0%, 27.1%)
CIE-LABlab(30.12, 45.85, -71.70)
CIE-LCHlch(30.12, 85.11, 302.60°)
OKLaboklab(41.71% 0.0101 -0.2075)
OKLCHoklch(41.71% 0.208 272.8)
XYZxyz(11.1358, 6.2863, 47.0714)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030BA #BABA30
analogous
#3075BA #3030BA #7530BA
triadic
#3030BA #BA3030 #30BA30
tetradic
#3030BA #BA3075 #BABA30 #30BA75
square
#3030BA #BA3075 #BABA30 #30BA75
split-complementary
#3030BA #BA7530 #75BA30
monochromatic
#171759 #232389 #3030BA #5454D3 #8585DF

Accessibility & contrast

On white

9.30
#3030BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3030BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030BA
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030BA#FFFFFF#000000##FFFFFF
##3030BA1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0040B8
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3030ba;
/* rgb */ color: rgb(48, 48, 186);
/* oklch */ color: oklch(41.7% 0.208 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ad0',
    500: '#3030ba',
    950: '#000000',
  },
}
SCSS
$custom: #3030ba;
$custom-light: #7e6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3030ba",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.20773,
    "h": 272.8
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#3030BA
secondary
#C9C97D
accent
#E246E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3030BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3030BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva