#30419A#30419A

#30419A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.146 H 270.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#30419A
RGBrgb(48, 65, 154)
HSLhsl(230, 52%, 40%)
HSVhsv(230, 69%, 60%)
CMYKcmyk(68.8%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.21, 23.90, -50.73)
CIE-LCHlch(31.21, 56.08, 295.22°)
OKLaboklab(41.62% 0.0014 -0.1461)
OKLCHoklch(41.62% 0.146 270.6)
XYZxyz(8.9400, 6.7412, 31.3956)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30419A #9A8930
analogous
#30769A #30419A #54309A
triadic
#30419A #9A3041 #419A30
tetradic
#30419A #9A3076 #9A8930 #309A54
square
#30419A #9A3076 #9A8930 #309A54
split-complementary
#30419A #9A5430 #769A30
monochromatic
#131A3D #212D6B #30419A #4358C4 #7281D3

Accessibility & contrast

On white

8.94
#30419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#30419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30419A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30419A#FFFFFF#000000##FFFFFF
##30419A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30419a;
/* rgb */ color: rgb(48, 65, 154);
/* oklch */ color: oklch(41.6% 0.146 270.6);
Tailwind
colors: {
  custom: {
    50: '#7675b8',
    500: '#30419a',
    950: '#000000',
  },
}
SCSS
$custom: #30419a;
$custom-light: #7675b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30419a",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 230.377,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.14606,
    "h": 270.6
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#30419A
secondary
#BBAE6B
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #30419A

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

Preview Lab → · Contrast checker → · Palette generator →

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