#3030AB#3030AB

#3030AB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.189 H 273.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3030AB
RGBrgb(48, 48, 171)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(71.9%, 71.9%, 0%, 32.9%)
CIE-LABlab(28.59, 40.83, -65.28)
CIE-LCHlch(28.59, 77.00, 302.02°)
OKLaboklab(40.16% 0.0126 -0.1888)
OKLCHoklch(40.16% 0.189 273.8)
XYZxyz(9.6241, 5.6816, 39.1096)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030AB #ABAB30
analogous
#306DAB #3030AB #6D30AB
triadic
#3030AB #AB3030 #30AB30
tetradic
#3030AB #AB306D #ABAB30 #30AB6D
square
#3030AB #AB306D #ABAB30 #30AB6D
split-complementary
#3030AB #AB6D30 #6DAB30
monochromatic
#15154B #23237B #3030AB #4C4CCD #7B7BDA

Accessibility & contrast

On white

9.83
#3030AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3030AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030AB
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030AB#FFFFFF#000000##FFFFFF
##3030AB1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3030ab;
/* rgb */ color: rgb(48, 48, 171);
/* oklch */ color: oklch(40.2% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b69c5',
    500: '#3030ab',
    950: '#000000',
  },
}
SCSS
$custom: #3030ab;
$custom-light: #7b69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3030ab",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40164,
    "c": 0.1892,
    "h": 273.8
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#3030AB
secondary
#C3C374
accent
#DF48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030AB

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

Preview Lab → · Contrast checker → · Palette generator →

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