#3030B7#3030B7

#3030B7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.204 H 273.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3030B7
RGBrgb(48, 48, 183)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 74%, 72%)
CMYKcmyk(73.8%, 73.8%, 0%, 28.2%)
CIE-LABlab(29.81, 44.86, -70.44)
CIE-LCHlch(29.81, 83.51, 302.49°)
OKLaboklab(41.4% 0.0106 -0.2038)
OKLCHoklch(41.4% 0.204 273)
XYZxyz(10.8203, 6.1601, 45.4093)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B7 #B7B730
analogous
#3073B7 #3030B7 #7330B7
triadic
#3030B7 #B73030 #30B730
tetradic
#3030B7 #B73073 #B7B730 #30B773
square
#3030B7 #B73073 #B7B730 #30B773
split-complementary
#3030B7 #B77330 #73B730
monochromatic
#171756 #232387 #3030B7 #5252D2 #8383DE

Accessibility & contrast

On white

9.41
#3030B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3030B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B7
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B7#FFFFFF#000000##FFFFFF
##3030B71.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3030b7;
/* rgb */ color: rgb(48, 48, 183);
/* oklch */ color: oklch(41.4% 0.204 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ace',
    500: '#3030b7',
    950: '#000000',
  },
}
SCSS
$custom: #3030b7;
$custom-light: #7e6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b7",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.20409,
    "h": 273
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#3030B7
secondary
#C8C87B
accent
#E246E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3030B7

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

Preview Lab → · Contrast checker → · Palette generator →

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