#3030B6#3030B6

#3030B6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.203 H 273.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3030B6
RGBrgb(48, 48, 182)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 74%, 71%)
CMYKcmyk(73.6%, 73.6%, 0%, 28.6%)
CIE-LABlab(29.71, 44.53, -70.01)
CIE-LCHlch(29.71, 82.97, 302.45°)
OKLaboklab(41.29% 0.0108 -0.2026)
OKLCHoklch(41.29% 0.203 273)
XYZxyz(10.7165, 6.1186, 44.8631)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B6 #B6B630
analogous
#3073B6 #3030B6 #7330B6
triadic
#3030B6 #B63030 #30B630
tetradic
#3030B6 #B63073 #B6B630 #30B673
square
#3030B6 #B63073 #B6B630 #30B673
split-complementary
#3030B6 #B67330 #73B630
monochromatic
#161655 #232386 #3030B6 #5252D1 #8282DE

Accessibility & contrast

On white

9.44
#3030B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3030B6
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B6#FFFFFF#000000##FFFFFF
##3030B61.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3030b6;
/* rgb */ color: rgb(48, 48, 182);
/* oklch */ color: oklch(41.3% 0.203 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d6acd',
    500: '#3030b6',
    950: '#000000',
  },
}
SCSS
$custom: #3030b6;
$custom-light: #7d6acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b6",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41294,
    "c": 0.20287,
    "h": 273
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3030B6

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

Preview Lab → · Contrast checker → · Palette generator →

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