#30409A#30409A

#30409A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.147 H 270.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#30409A
RGBrgb(48, 64, 154)
HSLhsl(231, 52%, 40%)
HSVhsv(231, 69%, 60%)
CMYKcmyk(68.8%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.94, 24.56, -51.17)
CIE-LCHlch(30.94, 56.76, 295.65°)
OKLaboklab(41.42% 0.0023 -0.1473)
OKLCHoklch(41.42% 0.147 270.9)
XYZxyz(8.8831, 6.6274, 31.3767)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30409A #9A8A30
analogous
#30759A #30409A #55309A
triadic
#30409A #9A3040 #409A30
tetradic
#30409A #9A3075 #9A8A30 #309A55
square
#30409A #9A3075 #9A8A30 #309A55
split-complementary
#30409A #9A5530 #759A30
monochromatic
#13193D #212D6B #30409A #4356C4 #7280D3

Accessibility & contrast

On white

9.03
#30409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#30409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30409A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30409A#FFFFFF#000000##FFFFFF
##30409A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30409a;
/* rgb */ color: rgb(48, 64, 154);
/* oklch */ color: oklch(41.4% 0.147 270.9);
Tailwind
colors: {
  custom: {
    50: '#7674b8',
    500: '#30409a',
    950: '#000000',
  },
}
SCSS
$custom: #30409a;
$custom-light: #7674b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30409a",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 230.943,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.14736,
    "h": 270.9
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#30409A
secondary
#BBAF6B
accent
#C64CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #30409A

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

Preview Lab → · Contrast checker → · Palette generator →

#30409A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva