#3030BC#3030BC

#3030BC is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.210 H 272.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3030BC
RGBrgb(48, 48, 188)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 74%)
CMYKcmyk(74.5%, 74.5%, 0%, 26.3%)
CIE-LABlab(30.33, 46.51, -72.54)
CIE-LCHlch(30.33, 86.17, 302.67°)
OKLaboklab(41.92% 0.0097 -0.2099)
OKLCHoklch(41.92% 0.21 272.7)
XYZxyz(11.3499, 6.3719, 48.1989)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030BC #BCBC30
analogous
#3076BC #3030BC #7630BC
triadic
#3030BC #BC3030 #30BC30
tetradic
#3030BC #BC3076 #BCBC30 #30BC76
square
#3030BC #BC3076 #BCBC30 #30BC76
split-complementary
#3030BC #BC7630 #76BC30
monochromatic
#17175A #24248B #3030BC #5555D4 #8686E0

Accessibility & contrast

On white

9.23
#3030BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3030BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030BC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030BC#FFFFFF#000000##FFFFFF
##3030BC1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3030bc;
/* rgb */ color: rgb(48, 48, 188);
/* oklch */ color: oklch(41.9% 0.210 272.7);
Tailwind
colors: {
  custom: {
    50: '#7f6ad1',
    500: '#3030bc',
    950: '#000000',
  },
}
SCSS
$custom: #3030bc;
$custom-light: #7f6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3030bc",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.21016,
    "h": 272.7
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#3030BC
secondary
#CACA7E
accent
#E345E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3030BC

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

Preview Lab → · Contrast checker → · Palette generator →

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