#3030B4#3030B4

#3030B4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.200 H 273.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3030B4
RGBrgb(48, 48, 180)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 71%)
CMYKcmyk(73.3%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.50, 43.86, -69.16)
CIE-LCHlch(29.50, 81.90, 302.38°)
OKLaboklab(41.09% 0.0111 -0.2001)
OKLCHoklch(41.09% 0.2 273.2)
XYZxyz(10.5113, 6.0365, 43.7824)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B4 #B4B430
analogous
#3072B4 #3030B4 #7230B4
triadic
#3030B4 #B43030 #30B430
tetradic
#3030B4 #B43072 #B4B430 #30B472
square
#3030B4 #B43072 #B4B430 #30B472
split-complementary
#3030B4 #B47230 #72B430
monochromatic
#161653 #232384 #3030B4 #5151D1 #8181DD

Accessibility & contrast

On white

9.51
#3030B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3030B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B4
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B4#FFFFFF#000000##FFFFFF
##3030B41.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3030b4;
/* rgb */ color: rgb(48, 48, 180);
/* oklch */ color: oklch(41.1% 0.200 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d6acc',
    500: '#3030b4',
    950: '#000000',
  },
}
SCSS
$custom: #3030b4;
$custom-light: #7d6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b4",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.20041,
    "h": 273.2
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#3030B4
secondary
#C6C679
accent
#E147E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030B4

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

Preview Lab → · Contrast checker → · Palette generator →

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