#30428E#30428E

#30428E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.127 H 269.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#30428E
RGBrgb(48, 66, 142)
HSLhsl(229, 49%, 37%)
HSVhsv(229, 66%, 56%)
CMYKcmyk(66.2%, 53.5%, 0%, 44.3%)
CIE-LABlab(30.59, 18.76, -44.41)
CIE-LCHlch(30.59, 48.21, 292.90°)
OKLaboklab(40.86% -0.0002 -0.1274)
OKLCHoklch(40.86% 0.127 269.9)
XYZxyz(8.0480, 6.4771, 26.4120)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30428E #8E7C30
analogous
#30718E #30428E #4D308E
triadic
#30428E #8E3042 #428E30
tetradic
#30428E #8E3071 #8E7C30 #308E4D
square
#30428E #8E3071 #8E7C30 #308E4D
split-complementary
#30428E #8E4D30 #718E30
monochromatic
#111733 #212D60 #30428E #3F57BC #6B7ECD

Accessibility & contrast

On white

9.15
#30428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#30428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30428E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30428E#FFFFFF#000000##FFFFFF
##30428E1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30428e;
/* rgb */ color: rgb(48, 66, 142);
/* oklch */ color: oklch(40.9% 0.127 269.9);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#30428e',
    950: '#000000',
  },
}
SCSS
$custom: #30428e;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30428e",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 228.511,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.12745,
    "h": 269.9
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#30428E
secondary
#B4A565
accent
#BF4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30428E

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

Preview Lab → · Contrast checker → · Palette generator →

#30428E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva