#30419F#30419F

#30419F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.153 H 270.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#30419F
RGBrgb(48, 65, 159)
HSLhsl(231, 54%, 41%)
HSVhsv(231, 70%, 62%)
CMYKcmyk(69.8%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.60, 25.75, -53.12)
CIE-LCHlch(31.60, 59.03, 295.86°)
OKLaboklab(42.03% 0.0015 -0.1531)
OKLCHoklch(42.03% 0.153 270.6)
XYZxyz(9.3651, 6.9113, 33.6346)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30419F #9F8E30
analogous
#30789F #30419F #56309F
triadic
#30419F #9F3041 #419F30
tetradic
#30419F #9F3078 #9F8E30 #309F56
square
#30419F #9F3078 #9F8E30 #309F56
split-complementary
#30419F #9F5630 #789F30
monochromatic
#141B41 #222E70 #30419F #4559C7 #7483D5

Accessibility & contrast

On white

8.81
#30419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#30419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30419F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30419F#FFFFFF#000000##FFFFFF
##30419F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30419f;
/* rgb */ color: rgb(48, 65, 159);
/* oklch */ color: oklch(42.0% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#7775bc',
    500: '#30419f',
    950: '#000000',
  },
}
SCSS
$custom: #30419f;
$custom-light: #7775bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30419f",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 230.811,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.15309,
    "h": 270.6
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#30419F
secondary
#BDB16E
accent
#C74BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #30419F

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

Preview Lab → · Contrast checker → · Palette generator →

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