#3030B2#3030B2

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

Color values

HEX#3030B2
RGBrgb(48, 48, 178)
HSLhsl(240, 58%, 44%)
HSVhsv(240, 73%, 70%)
CMYKcmyk(73%, 73%, 0%, 30.2%)
CIE-LABlab(29.30, 43.19, -68.31)
CIE-LCHlch(29.30, 80.82, 302.30°)
OKLaboklab(40.88% 0.0115 -0.1976)
OKLCHoklch(40.88% 0.198 273.3)
XYZxyz(10.3091, 5.9556, 42.7171)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030B2 #B2B230
analogous
#3071B2 #3030B2 #7130B2
triadic
#3030B2 #B23030 #30B230
tetradic
#3030B2 #B23071 #B2B230 #30B271
square
#3030B2 #B23071 #B2B230 #30B271
split-complementary
#3030B2 #B27130 #71B230
monochromatic
#161652 #232382 #3030B2 #5050D0 #8080DD

Accessibility & contrast

On white

9.58
#3030B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3030B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030B2
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030B2#FFFFFF#000000##FFFFFF
##3030B21.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3030b2;
/* rgb */ color: rgb(48, 48, 178);
/* oklch */ color: oklch(40.9% 0.198 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d6aca',
    500: '#3030b2',
    950: '#000000',
  },
}
SCSS
$custom: #3030b2;
$custom-light: #7d6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3030b2",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4088,
    "c": 0.19794,
    "h": 273.3
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3030B2

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

Preview Lab → · Contrast checker → · Palette generator →

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