#30419C#30419C

#30419C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.149 H 270.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#30419C
RGBrgb(48, 65, 156)
HSLhsl(231, 53%, 40%)
HSVhsv(231, 69%, 61%)
CMYKcmyk(69.2%, 58.3%, 0%, 38.8%)
CIE-LABlab(31.37, 24.64, -51.69)
CIE-LCHlch(31.37, 57.26, 295.48°)
OKLaboklab(41.78% 0.0015 -0.1489)
OKLCHoklch(41.78% 0.149 270.6)
XYZxyz(9.1079, 6.8084, 32.2802)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30419C #9C8B30
analogous
#30779C #30419C #55309C
triadic
#30419C #9C3041 #419C30
tetradic
#30419C #9C3077 #9C8B30 #309C55
square
#30419C #9C3077 #9C8B30 #309C55
split-complementary
#30419C #9C5530 #779C30
monochromatic
#131A3E #222D6D #30419C #4458C5 #7382D4

Accessibility & contrast

On white

8.89
#30419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#30419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30419C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30419C#FFFFFF#000000##FFFFFF
##30419C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30419c;
/* rgb */ color: rgb(48, 65, 156);
/* oklch */ color: oklch(41.8% 0.149 270.6);
Tailwind
colors: {
  custom: {
    50: '#7675ba',
    500: '#30419c',
    950: '#000000',
  },
}
SCSS
$custom: #30419c;
$custom-light: #7675ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30419c",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 230.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.14889,
    "h": 270.6
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#30419C
secondary
#BCAF6C
accent
#C64BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #30419C

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

Preview Lab → · Contrast checker → · Palette generator →

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