#30348F#30348F

#30348F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.147 H 275.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#30348F
RGBrgb(48, 52, 143)
HSLhsl(237, 50%, 37%)
HSVhsv(237, 66%, 56%)
CMYKcmyk(66.4%, 63.6%, 0%, 43.9%)
CIE-LABlab(26.92, 28.51, -50.97)
CIE-LCHlch(26.92, 58.40, 299.22°)
OKLaboklab(38.16% 0.0129 -0.1469)
OKLCHoklch(38.16% 0.147 275)
XYZxyz(7.4032, 5.0669, 26.5691)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30348F #8F8B30
analogous
#30638F #30348F #5C308F
triadic
#30348F #8F3034 #348F30
tetradic
#30348F #8F3063 #8F8B30 #308F5C
square
#30348F #8F3063 #8F8B30 #308F5C
split-complementary
#30348F #8F5C30 #638F30
monochromatic
#111333 #212361 #30348F #3F45BD #6C70CE

Accessibility & contrast

On white

10.43
#30348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#30348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30348F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30348F#FFFFFF#000000##FFFFFF
##30348F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30348f;
/* rgb */ color: rgb(48, 52, 143);
/* oklch */ color: oklch(38.2% 0.147 275.0);
Tailwind
colors: {
  custom: {
    50: '#746bb1',
    500: '#30348f',
    950: '#000000',
  },
}
SCSS
$custom: #30348f;
$custom-light: #746bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#30348f",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 237.474,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.14745,
    "h": 275
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#30348F
secondary
#B5B266
accent
#D34FD9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #30348F

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

Preview Lab → · Contrast checker → · Palette generator →

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