#30428D#30428D

#30428D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.126 H 269.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#30428D
RGBrgb(48, 66, 141)
HSLhsl(228, 49%, 37%)
HSVhsv(228, 66%, 55%)
CMYKcmyk(66%, 53.2%, 0%, 44.7%)
CIE-LABlab(30.51, 18.39, -43.91)
CIE-LCHlch(30.51, 47.61, 292.72°)
OKLaboklab(40.78% -0.0003 -0.126)
OKLCHoklch(40.78% 0.126 269.9)
XYZxyz(7.9732, 6.4472, 26.0184)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30428D #8D7B30
analogous
#30718D #30428D #4D308D
triadic
#30428D #8D3042 #428D30
tetradic
#30428D #8D3071 #8D7B30 #308D4D
square
#30428D #8D3071 #8D7B30 #308D4D
split-complementary
#30428D #8D4D30 #718D30
monochromatic
#111732 #202D5F #30428D #4057BB #6B7ECD

Accessibility & contrast

On white

9.17
#30428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#30428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30428D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30428D#FFFFFF#000000##FFFFFF
##30428D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30428d;
/* rgb */ color: rgb(48, 66, 141);
/* oklch */ color: oklch(40.8% 0.126 269.9);
Tailwind
colors: {
  custom: {
    50: '#7376af',
    500: '#30428d',
    950: '#000000',
  },
}
SCSS
$custom: #30428d;
$custom-light: #7376af;
$custom-dark: #000000;
JSON
{
  "hex": "#30428d",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 228.387,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.12598,
    "h": 269.9
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#30428D
secondary
#B4A565
accent
#BE4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30428D

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

Preview Lab → · Contrast checker → · Palette generator →

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