#3030B1#3030B1

#3030B1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.197 H 273.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3030B1
RGBrgb(48, 48, 177)
HSLhsl(240, 57%, 44%)
HSVhsv(240, 73%, 69%)
CMYKcmyk(72.9%, 72.9%, 0%, 30.6%)
CIE-LABlab(29.20, 42.85, -67.88)
CIE-LCHlch(29.20, 80.28, 302.27°)
OKLaboklab(40.78% 0.0116 -0.1964)
OKLCHoklch(40.78% 0.197 273.4)
XYZxyz(10.2090, 5.9156, 42.1902)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B1 #B1B130
analogous
#3071B1 #3030B1 #7130B1
triadic
#3030B1 #B13030 #30B130
tetradic
#3030B1 #B13071 #B1B130 #30B171
square
#3030B1 #B13071 #B1B130 #30B171
split-complementary
#3030B1 #B17130 #71B130
monochromatic
#161651 #232381 #3030B1 #4F4FCF #7F7FDC

Accessibility & contrast

On white

9.62
#3030B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3030B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B1
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B1#FFFFFF#000000##FFFFFF
##3030B11.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3030b1;
/* rgb */ color: rgb(48, 48, 177);
/* oklch */ color: oklch(40.8% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#7c6aca',
    500: '#3030b1',
    950: '#000000',
  },
}
SCSS
$custom: #3030b1;
$custom-light: #7c6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b1",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.1967,
    "h": 273.4
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#3030B1
secondary
#C5C578
accent
#E147E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030B1

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

Preview Lab → · Contrast checker → · Palette generator →

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