#3030B3#3030B3

#3030B3 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.199 H 273.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3030B3
RGBrgb(48, 48, 179)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 70%)
CMYKcmyk(73.2%, 73.2%, 0%, 29.8%)
CIE-LABlab(29.40, 43.53, -68.74)
CIE-LCHlch(29.40, 81.36, 302.34°)
OKLaboklab(40.98% 0.0113 -0.1988)
OKLCHoklch(40.98% 0.199 273.3)
XYZxyz(10.4098, 5.9959, 43.2478)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B3 #B3B330
analogous
#3072B3 #3030B3 #7230B3
triadic
#3030B3 #B33030 #30B330
tetradic
#3030B3 #B33072 #B3B330 #30B372
square
#3030B3 #B33072 #B3B330 #30B372
split-complementary
#3030B3 #B37230 #72B330
monochromatic
#161652 #232383 #3030B3 #5050D0 #8080DD

Accessibility & contrast

On white

9.55
#3030B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3030B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B3
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B3#FFFFFF#000000##FFFFFF
##3030B31.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3030b3;
/* rgb */ color: rgb(48, 48, 179);
/* oklch */ color: oklch(41.0% 0.199 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d6acb',
    500: '#3030b3',
    950: '#000000',
  },
}
SCSS
$custom: #3030b3;
$custom-light: #7d6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b3",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.19917,
    "h": 273.3
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#3030B3
secondary
#C6C679
accent
#E147E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030B3

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

Preview Lab → · Contrast checker → · Palette generator →

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