#30307C#30307C

#30307C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.126 H 277.9°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#30307C
RGBrgb(48, 48, 124)
HSLhsl(240, 44%, 34%)
HSVhsv(240, 61%, 49%)
CMYKcmyk(61.3%, 61.3%, 0%, 51.4%)
CIE-LABlab(24.31, 24.36, -43.35)
CIE-LCHlch(24.31, 49.72, 299.33°)
OKLaboklab(35.74% 0.0174 -0.1245)
OKLCHoklch(35.74% 0.126 277.9)
XYZxyz(5.9128, 4.1971, 19.5634)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30307C #7C7C30
analogous
#30567C #30307C #56307C
triadic
#30307C #7C3030 #307C30
tetradic
#30307C #7C3056 #7C7C30 #307C56
square
#30307C #7C3056 #7C7C30 #307C56
split-complementary
#30307C #7C5630 #567C30
monochromatic
#0E0E24 #1F1F50 #30307C #4141A8 #6464C3

Accessibility & contrast

On white

11.42
#30307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30307C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30307C#FFFFFF#000000##FFFFFF
##30307C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30307c;
/* rgb */ color: rgb(48, 48, 124);
/* oklch */ color: oklch(35.7% 0.126 277.9);
Tailwind
colors: {
  custom: {
    50: '#7168a3',
    500: '#30307c',
    950: '#000000',
  },
}
SCSS
$custom: #30307c;
$custom-light: #7168a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30307c",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35738,
    "c": 0.12574,
    "h": 277.9
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#30307C
secondary
#AAAA5E
accent
#D454D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30307C

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

Preview Lab → · Contrast checker → · Palette generator →

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