#3030BB#3030BB

#3030BB is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.209 H 272.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3030BB
RGBrgb(48, 48, 187)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(74.3%, 74.3%, 0%, 26.7%)
CIE-LABlab(30.23, 46.18, -72.12)
CIE-LCHlch(30.23, 85.64, 302.63°)
OKLaboklab(41.82% 0.0099 -0.2087)
OKLCHoklch(41.82% 0.209 272.7)
XYZxyz(11.2425, 6.3290, 47.6332)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030BB #BBBB30
analogous
#3075BB #3030BB #7530BB
triadic
#3030BB #BB3030 #30BB30
tetradic
#3030BB #BB3075 #BBBB30 #30BB75
square
#3030BB #BB3075 #BBBB30 #30BB75
split-complementary
#3030BB #BB7530 #75BB30
monochromatic
#17175A #23238A #3030BB #5555D3 #8686E0

Accessibility & contrast

On white

9.27
#3030BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3030BB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030BB#FFFFFF#000000##FFFFFF
##3030BB1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3030bb;
/* rgb */ color: rgb(48, 48, 187);
/* oklch */ color: oklch(41.8% 0.209 272.7);
Tailwind
colors: {
  custom: {
    50: '#7f6ad1',
    500: '#3030bb',
    950: '#000000',
  },
}
SCSS
$custom: #3030bb;
$custom-light: #7f6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3030bb",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.20895,
    "h": 272.7
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3030BB

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

Preview Lab → · Contrast checker → · Palette generator →

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