#3030AA#3030AA

#3030AA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.188 H 273.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3030AA
RGBrgb(48, 48, 170)
HSLhsl(240, 56%, 43%)
HSVhsv(240, 72%, 67%)
CMYKcmyk(71.8%, 71.8%, 0%, 33.3%)
CIE-LABlab(28.49, 40.49, -64.85)
CIE-LCHlch(28.49, 76.45, 301.98°)
OKLaboklab(40.06% 0.0128 -0.1875)
OKLCHoklch(40.06% 0.188 273.9)
XYZxyz(9.5292, 5.6436, 38.6096)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030AA #AAAA30
analogous
#306DAA #3030AA #6D30AA
triadic
#3030AA #AA3030 #30AA30
tetradic
#3030AA #AA306D #AAAA30 #30AA6D
square
#3030AA #AA306D #AAAA30 #30AA6D
split-complementary
#3030AA #AA6D30 #6DAA30
monochromatic
#15154B #23237A #3030AA #4B4BCC #7B7BDA

Accessibility & contrast

On white

9.86
#3030AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3030AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3030AA#FFFFFF#000000##FFFFFF
##3030AA1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3030aa;
/* rgb */ color: rgb(48, 48, 170);
/* oklch */ color: oklch(40.1% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b69c4',
    500: '#3030aa',
    950: '#000000',
  },
}
SCSS
$custom: #3030aa;
$custom-light: #7b69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3030aa",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.18794,
    "h": 273.9
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#3030AA
secondary
#C2C274
accent
#DF49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030AA

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

Preview Lab → · Contrast checker → · Palette generator →

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