#3030B9#3030B9

#3030B9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.207 H 272.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3030B9
RGBrgb(48, 48, 185)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(74.1%, 74.1%, 0%, 27.5%)
CIE-LABlab(30.02, 45.52, -71.28)
CIE-LCHlch(30.02, 84.58, 302.56°)
OKLaboklab(41.61% 0.0103 -0.2063)
OKLCHoklch(41.61% 0.207 272.8)
XYZxyz(11.0299, 6.2439, 46.5134)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B9 #B9B930
analogous
#3074B9 #3030B9 #7430B9
triadic
#3030B9 #B93030 #30B930
tetradic
#3030B9 #B93074 #B9B930 #30B974
square
#3030B9 #B93074 #B9B930 #30B974
split-complementary
#3030B9 #B97430 #74B930
monochromatic
#171758 #232388 #3030B9 #5454D3 #8484DF

Accessibility & contrast

On white

9.34
#3030B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3030B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B9
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B9#FFFFFF#000000##FFFFFF
##3030B91.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3030b9;
/* rgb */ color: rgb(48, 48, 185);
/* oklch */ color: oklch(41.6% 0.207 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e6acf',
    500: '#3030b9',
    950: '#000000',
  },
}
SCSS
$custom: #3030b9;
$custom-light: #7e6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b9",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.20653,
    "h": 272.8
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3030B9

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

Preview Lab → · Contrast checker → · Palette generator →

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