#30349A#30349A

#30349A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.163 H 274.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#30349A
RGBrgb(48, 52, 154)
HSLhsl(238, 52%, 40%)
HSVhsv(238, 69%, 60%)
CMYKcmyk(68.8%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.89, 32.45, -56.15)
CIE-LCHlch(27.89, 64.85, 300.02°)
OKLaboklab(39.16% 0.0121 -0.1621)
OKLCHoklch(39.16% 0.163 274.3)
XYZxyz(8.2777, 5.4167, 31.1749)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30349A #9A9630
analogous
#30699A #30349A #61309A
triadic
#30349A #9A3034 #349A30
tetradic
#30349A #9A3069 #9A9630 #309A61
square
#30349A #9A3069 #9A9630 #309A61
split-complementary
#30349A #9A6130 #699A30
monochromatic
#13143D #21246B #30349A #4348C4 #7275D3

Accessibility & contrast

On white

10.08
#30349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#30349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30349A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30349A#FFFFFF#000000##FFFFFF
##30349A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30349a;
/* rgb */ color: rgb(48, 52, 154);
/* oklch */ color: oklch(39.2% 0.163 274.3);
Tailwind
colors: {
  custom: {
    50: '#776cb9',
    500: '#30349a',
    950: '#000000',
  },
}
SCSS
$custom: #30349a;
$custom-light: #776cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30349a",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 237.736,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.16252,
    "h": 274.3
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#30349A
secondary
#BBB86B
accent
#D64CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30349A

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

Preview Lab → · Contrast checker → · Palette generator →

#30349A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva