#30348B#30348B

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

Color values

HEX#30348B
RGBrgb(48, 52, 139)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 65%, 55%)
CMYKcmyk(65.5%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.59, 27.07, -49.05)
CIE-LCHlch(26.59, 56.02, 298.90°)
OKLaboklab(37.8% 0.0131 -0.1412)
OKLCHoklch(37.8% 0.142 275.3)
XYZxyz(7.1056, 4.9478, 25.0017)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30348B #8B8730
analogous
#30628B #30348B #5A308B
triadic
#30348B #8B3034 #348B30
tetradic
#30348B #8B3062 #8B8730 #308B5A
square
#30348B #8B3062 #8B8730 #308B5A
split-complementary
#30348B #8B5A30 #628B30
monochromatic
#111230 #20235E #30348B #4045B8 #6A6ECC

Accessibility & contrast

On white

10.55
#30348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#30348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30348B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30348B#FFFFFF#000000##FFFFFF
##30348B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30348b;
/* rgb */ color: rgb(48, 52, 139);
/* oklch */ color: oklch(37.8% 0.142 275.3);
Tailwind
colors: {
  custom: {
    50: '#736bae',
    500: '#30348b',
    950: '#000000',
  },
}
SCSS
$custom: #30348b;
$custom-light: #736bae;
$custom-dark: #000000;
JSON
{
  "hex": "#30348b",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 237.363,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.14184,
    "h": 275.3
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30348B

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

Preview Lab → · Contrast checker → · Palette generator →

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