#3030B8#3030B8

#3030B8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.205 H 272.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3030B8
RGBrgb(48, 48, 184)
HSLhsl(240, 59%, 45%)
HSVhsv(240, 74%, 72%)
CMYKcmyk(73.9%, 73.9%, 0%, 27.8%)
CIE-LABlab(29.92, 45.19, -70.86)
CIE-LCHlch(29.92, 84.04, 302.53°)
OKLaboklab(41.5% 0.0104 -0.205)
OKLCHoklch(41.5% 0.205 272.9)
XYZxyz(10.9247, 6.2019, 45.9594)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B8 #B8B830
analogous
#3074B8 #3030B8 #7430B8
triadic
#3030B8 #B83030 #30B830
tetradic
#3030B8 #B83074 #B8B830 #30B874
square
#3030B8 #B83074 #B8B830 #30B874
split-complementary
#3030B8 #B87430 #74B830
monochromatic
#171757 #232387 #3030B8 #5353D2 #8484DF

Accessibility & contrast

On white

9.37
#3030B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3030B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B8
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B8#FFFFFF#000000##FFFFFF
##3030B81.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3030b8;
/* rgb */ color: rgb(48, 48, 184);
/* oklch */ color: oklch(41.5% 0.205 272.9);
Tailwind
colors: {
  custom: {
    50: '#7e6acf',
    500: '#3030b8',
    950: '#000000',
  },
}
SCSS
$custom: #3030b8;
$custom-light: #7e6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b8",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.20531,
    "h": 272.9
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3030B8

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

Preview Lab → · Contrast checker → · Palette generator →

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