#30304E#30304E

#30304E is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.053 H 283.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#30304E
RGBrgb(48, 48, 78)
HSLhsl(240, 24%, 25%)
HSVhsv(240, 38%, 31%)
CMYKcmyk(38.5%, 38.5%, 0%, 69.4%)
CIE-LABlab(21.18, 8.45, -18.42)
CIE-LCHlch(21.18, 20.27, 294.63°)
OKLaboklab(32.37% 0.0119 -0.0515)
OKLCHoklch(32.37% 0.053 283)
XYZxyz(3.6506, 3.2922, 7.6494)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30304E #4E4E30
analogous
#303F4E #30304E #3F304E
triadic
#30304E #4E3030 #304E30
tetradic
#30304E #4E303F #4E4E30 #304E3F
square
#30304E #4E303F #4E4E30 #304E3F
split-complementary
#30304E #4E3F30 #3F4E30
monochromatic
#0C0C13 #191928 #30304E #474774 #5F5F9A

Accessibility & contrast

On white

12.66
#30304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#30304E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30304E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30304E#FFFFFF#000000##FFFFFF
##30304E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344F
Deuteranopia (green-blind)
#25324D
Tritanopia (blue-blind)
#28363B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30304e;
/* rgb */ color: rgb(48, 48, 78);
/* oklch */ color: oklch(32.4% 0.053 283.0);
Tailwind
colors: {
  custom: {
    50: '#69687f',
    500: '#30304e',
    950: '#000000',
  },
}
SCSS
$custom: #30304e;
$custom-light: #69687f;
$custom-dark: #000000;
JSON
{
  "hex": "#30304e",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 240,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.05285,
    "h": 283
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#30304E
secondary
#7F7F5B
accent
#C068C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #30304E

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

Preview Lab → · Contrast checker → · Palette generator →

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