#3030B5#3030B5

#3030B5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.202 H 273.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3030B5
RGBrgb(48, 48, 181)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 71%)
CMYKcmyk(73.5%, 73.5%, 0%, 29%)
CIE-LABlab(29.61, 44.19, -69.59)
CIE-LCHlch(29.61, 82.44, 302.42°)
OKLaboklab(41.19% 0.011 -0.2013)
OKLCHoklch(41.19% 0.202 273.1)
XYZxyz(10.6136, 6.0774, 44.3208)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B5 #B5B530
analogous
#3073B5 #3030B5 #7330B5
triadic
#3030B5 #B53030 #30B530
tetradic
#3030B5 #B53073 #B5B530 #30B573
square
#3030B5 #B53073 #B5B530 #30B573
split-complementary
#3030B5 #B57330 #73B530
monochromatic
#161654 #232385 #3030B5 #5151D1 #8282DE

Accessibility & contrast

On white

9.48
#3030B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3030B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B5
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B5#FFFFFF#000000##FFFFFF
##3030B51.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3030b5;
/* rgb */ color: rgb(48, 48, 181);
/* oklch */ color: oklch(41.2% 0.202 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d6acc',
    500: '#3030b5',
    950: '#000000',
  },
}
SCSS
$custom: #3030b5;
$custom-light: #7d6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b5",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 240,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.20164,
    "h": 273.1
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#3030B5
secondary
#C7C77A
accent
#E146E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #3030B5

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

Preview Lab → · Contrast checker → · Palette generator →

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