#30428C#30428C

#30428C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.125 H 269.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#30428C
RGBrgb(48, 66, 140)
HSLhsl(228, 49%, 37%)
HSVhsv(228, 66%, 55%)
CMYKcmyk(65.7%, 52.9%, 0%, 45.1%)
CIE-LABlab(30.44, 18.02, -43.41)
CIE-LCHlch(30.44, 47.00, 292.54°)
OKLaboklab(40.71% -0.0004 -0.1245)
OKLCHoklch(40.71% 0.125 269.8)
XYZxyz(7.8992, 6.4176, 25.6283)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30428C #8C7A30
analogous
#30708C #30428C #4C308C
triadic
#30428C #8C3042 #428C30
tetradic
#30428C #8C3070 #8C7A30 #308C4C
square
#30428C #8C3070 #8C7A30 #308C4C
split-complementary
#30428C #8C4C30 #708C30
monochromatic
#111731 #202D5E #30428C #4057BA #6A7DCC

Accessibility & contrast

On white

9.20
#30428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#30428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30428C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30428C#FFFFFF#000000##FFFFFF
##30428C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30428c;
/* rgb */ color: rgb(48, 66, 140);
/* oklch */ color: oklch(40.7% 0.125 269.8);
Tailwind
colors: {
  custom: {
    50: '#7376ae',
    500: '#30428c',
    950: '#000000',
  },
}
SCSS
$custom: #30428c;
$custom-light: #7376ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30428c",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 228.261,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.12451,
    "h": 269.8
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#30428C
secondary
#B3A464
accent
#BE4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30428C

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

Preview Lab → · Contrast checker → · Palette generator →

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