#3030A2#3030A2

#3030A2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.178 H 274.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3030A2
RGBrgb(48, 48, 162)
HSLhsl(240, 54%, 41%)
HSVhsv(240, 70%, 64%)
CMYKcmyk(70.4%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.71, 37.75, -61.31)
CIE-LCHlch(27.71, 72.00, 301.62°)
OKLaboklab(39.26% 0.014 -0.1772)
OKLCHoklch(39.26% 0.178 274.5)
XYZxyz(8.7953, 5.3501, 34.7446)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030A2 #A2A230
analogous
#3069A2 #3030A2 #6930A2
triadic
#3030A2 #A23030 #30A230
tetradic
#3030A2 #A23069 #A2A230 #30A269
square
#3030A2 #A23069 #A2A230 #30A269
split-complementary
#3030A2 #A26930 #69A230
monochromatic
#141444 #222273 #3030A2 #4747C8 #7676D6

Accessibility & contrast

On white

10.14
#3030A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3030A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3030A2#FFFFFF#000000##FFFFFF
##3030A21.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3030a2;
/* rgb */ color: rgb(48, 48, 162);
/* oklch */ color: oklch(39.3% 0.178 274.5);
Tailwind
colors: {
  custom: {
    50: '#7969bf',
    500: '#3030a2',
    950: '#000000',
  },
}
SCSS
$custom: #3030a2;
$custom-light: #7969bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3030a2",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39262,
    "c": 0.17773,
    "h": 274.5
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#3030A2
secondary
#BEBE6F
accent
#DE4ADE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3030A2

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

Preview Lab → · Contrast checker → · Palette generator →

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