#30348A#30348A

#30348A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.140 H 275.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#30348A
RGBrgb(48, 52, 138)
HSLhsl(237, 48%, 36%)
HSVhsv(237, 65%, 54%)
CMYKcmyk(65.2%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.50, 26.71, -48.56)
CIE-LCHlch(26.50, 55.42, 298.81°)
OKLaboklab(37.71% 0.0131 -0.1398)
OKLCHoklch(37.71% 0.14 275.3)
XYZxyz(7.0329, 4.9188, 24.6186)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30348A #8A8630
analogous
#30618A #30348A #59308A
triadic
#30348A #8A3034 #348A30
tetradic
#30348A #8A3061 #8A8630 #308A59
square
#30348A #8A3061 #8A8630 #308A59
split-complementary
#30348A #8A5930 #618A30
monochromatic
#10122F #20235D #30348A #4045B7 #696ECB

Accessibility & contrast

On white

10.59
#30348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#30348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30348A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30348A#FFFFFF#000000##FFFFFF
##30348A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30348a;
/* rgb */ color: rgb(48, 52, 138);
/* oklch */ color: oklch(37.7% 0.140 275.3);
Tailwind
colors: {
  custom: {
    50: '#736bad',
    500: '#30348a',
    950: '#000000',
  },
}
SCSS
$custom: #30348a;
$custom-light: #736bad;
$custom-dark: #000000;
JSON
{
  "hex": "#30348a",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 237.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37715,
    "c": 0.14043,
    "h": 275.3
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#30348A
secondary
#B2AF64
accent
#D250D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #30348A

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

Preview Lab → · Contrast checker → · Palette generator →

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