#3030A6#3030A6

#3030A6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.183 H 274.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3030A6
RGBrgb(48, 48, 166)
HSLhsl(240, 55%, 42%)
HSVhsv(240, 71%, 65%)
CMYKcmyk(71.1%, 71.1%, 0%, 34.9%)
CIE-LABlab(28.10, 39.12, -63.09)
CIE-LCHlch(28.10, 74.23, 301.81°)
OKLaboklab(39.66% 0.0134 -0.1824)
OKLCHoklch(39.66% 0.183 274.2)
XYZxyz(9.1565, 5.4946, 36.6470)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030A6 #A6A630
analogous
#306BA6 #3030A6 #6B30A6
triadic
#3030A6 #A63030 #30A630
tetradic
#3030A6 #A6306B #A6A630 #30A66B
square
#3030A6 #A6306B #A6A630 #30A66B
split-complementary
#3030A6 #A66B30 #6BA630
monochromatic
#151547 #222277 #3030A6 #4949CA #7878D8

Accessibility & contrast

On white

10.00
#3030A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3030A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3030A6#FFFFFF#000000##FFFFFF
##3030A61.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3030a6;
/* rgb */ color: rgb(48, 48, 166);
/* oklch */ color: oklch(39.7% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#7a69c2',
    500: '#3030a6',
    950: '#000000',
  },
}
SCSS
$custom: #3030a6;
$custom-light: #7a69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3030a6",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.18286,
    "h": 274.2
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#3030A6
secondary
#C0C071
accent
#DE49DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3030A6

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

Preview Lab → · Contrast checker → · Palette generator →

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