#30348E#30348E

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

Color values

HEX#30348E
RGBrgb(48, 52, 142)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 66%, 56%)
CMYKcmyk(66.2%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.84, 28.15, -50.49)
CIE-LCHlch(26.84, 57.81, 299.14°)
OKLaboklab(38.07% 0.0129 -0.1455)
OKLCHoklch(38.07% 0.146 275.1)
XYZxyz(7.3278, 5.0367, 26.1720)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30348E #8E8A30
analogous
#30638E #30348E #5B308E
triadic
#30348E #8E3034 #348E30
tetradic
#30348E #8E3063 #8E8A30 #308E5B
square
#30348E #8E3063 #8E8A30 #308E5B
split-complementary
#30348E #8E5B30 #638E30
monochromatic
#111333 #212360 #30348E #3F45BC #6B6FCD

Accessibility & contrast

On white

10.46
#30348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30348E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30348E#FFFFFF#000000##FFFFFF
##30348E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30348e;
/* rgb */ color: rgb(48, 52, 142);
/* oklch */ color: oklch(38.1% 0.146 275.1);
Tailwind
colors: {
  custom: {
    50: '#746bb0',
    500: '#30348e',
    950: '#000000',
  },
}
SCSS
$custom: #30348e;
$custom-light: #746bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#30348e",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 237.447,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.14605,
    "h": 275.1
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#30348E
secondary
#B4B165
accent
#D34FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #30348E

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

Preview Lab → · Contrast checker → · Palette generator →

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