#30348C#30348C

#30348C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.143 H 275.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#30348C
RGBrgb(48, 52, 140)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 66%, 55%)
CMYKcmyk(65.7%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.67, 27.43, -49.53)
CIE-LCHlch(26.67, 56.62, 298.98°)
OKLaboklab(37.89% 0.013 -0.1427)
OKLCHoklch(37.89% 0.143 275.2)
XYZxyz(7.1790, 4.9772, 25.3882)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30348C #8C8830
analogous
#30628C #30348C #5A308C
triadic
#30348C #8C3034 #348C30
tetradic
#30348C #8C3062 #8C8830 #308C5A
square
#30348C #8C3062 #8C8830 #308C5A
split-complementary
#30348C #8C5A30 #628C30
monochromatic
#111231 #20235E #30348C #4045BA #6A6FCC

Accessibility & contrast

On white

10.52
#30348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30348C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30348C#FFFFFF#000000##FFFFFF
##30348C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30348c;
/* rgb */ color: rgb(48, 52, 140);
/* oklch */ color: oklch(37.9% 0.143 275.2);
Tailwind
colors: {
  custom: {
    50: '#746bae',
    500: '#30348c',
    950: '#000000',
  },
}
SCSS
$custom: #30348c;
$custom-light: #746bae;
$custom-dark: #000000;
JSON
{
  "hex": "#30348c",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 237.391,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.14325,
    "h": 275.2
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#30348C
secondary
#B3B064
accent
#D34FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #30348C

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

Preview Lab → · Contrast checker → · Palette generator →

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