#30409F#30409F

#30409F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.154 H 270.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#30409F
RGBrgb(48, 64, 159)
HSLhsl(231, 54%, 41%)
HSVhsv(231, 70%, 62%)
CMYKcmyk(69.8%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.34, 26.41, -53.55)
CIE-LCHlch(31.34, 59.71, 296.25°)
OKLaboklab(41.84% 0.0024 -0.1543)
OKLCHoklch(41.84% 0.154 270.9)
XYZxyz(9.3082, 6.7975, 33.6157)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30409F #9F8F30
analogous
#30779F #30409F #57309F
triadic
#30409F #9F3040 #409F30
tetradic
#30409F #9F3077 #9F8F30 #309F57
square
#30409F #9F3077 #9F8F30 #309F57
split-complementary
#30409F #9F5730 #779F30
monochromatic
#141A41 #222D70 #30409F #4558C7 #7482D5

Accessibility & contrast

On white

8.90
#30409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#30409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30409F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30409F#FFFFFF#000000##FFFFFF
##30409F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30409f;
/* rgb */ color: rgb(48, 64, 159);
/* oklch */ color: oklch(41.8% 0.154 270.9);
Tailwind
colors: {
  custom: {
    50: '#7774bc',
    500: '#30409f',
    950: '#000000',
  },
}
SCSS
$custom: #30409f;
$custom-light: #7774bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30409f",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 231.351,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.15437,
    "h": 270.9
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#30409F
secondary
#BDB26E
accent
#C84BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #30409F

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

Preview Lab → · Contrast checker → · Palette generator →

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