#30348D#30348D

#30348D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.145 H 275.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#30348D
RGBrgb(48, 52, 141)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 66%, 55%)
CMYKcmyk(66%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.75, 27.79, -50.01)
CIE-LCHlch(26.75, 57.22, 299.06°)
OKLaboklab(37.98% 0.013 -0.1441)
OKLCHoklch(37.98% 0.145 275.1)
XYZxyz(7.2531, 5.0068, 25.7783)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30348D #8D8930
analogous
#30638D #30348D #5A308D
triadic
#30348D #8D3034 #348D30
tetradic
#30348D #8D3063 #8D8930 #308D5A
square
#30348D #8D3063 #8D8930 #308D5A
split-complementary
#30348D #8D5A30 #638D30
monochromatic
#111232 #20235F #30348D #4045BB #6B6FCD

Accessibility & contrast

On white

10.49
#30348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#30348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30348D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30348D#FFFFFF#000000##FFFFFF
##30348D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30348d;
/* rgb */ color: rgb(48, 52, 141);
/* oklch */ color: oklch(38.0% 0.145 275.1);
Tailwind
colors: {
  custom: {
    50: '#746baf',
    500: '#30348d',
    950: '#000000',
  },
}
SCSS
$custom: #30348d;
$custom-light: #746baf;
$custom-dark: #000000;
JSON
{
  "hex": "#30348d",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 237.419,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.14465,
    "h": 275.1
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#30348D
secondary
#B4B065
accent
#D34FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #30348D

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

Preview Lab → · Contrast checker → · Palette generator →

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