#30428B#30428B

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

Color values

HEX#30428B
RGBrgb(48, 66, 139)
HSLhsl(228, 49%, 37%)
HSVhsv(228, 65%, 55%)
CMYKcmyk(65.5%, 52.5%, 0%, 45.5%)
CIE-LABlab(30.37, 17.64, -42.91)
CIE-LCHlch(30.37, 46.40, 292.35°)
OKLaboklab(40.63% -0.0005 -0.123)
OKLCHoklch(40.63% 0.123 269.8)
XYZxyz(7.8258, 6.3882, 25.2417)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30428B #8B7930
analogous
#30708B #30428B #4C308B
triadic
#30428B #8B3042 #428B30
tetradic
#30428B #8B3070 #8B7930 #308B4C
square
#30428B #8B3070 #8B7930 #308B4C
split-complementary
#30428B #8B4C30 #708B30
monochromatic
#111730 #202C5E #30428B #4058B8 #6A7DCC

Accessibility & contrast

On white

9.22
#30428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30428B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30428B#FFFFFF#000000##FFFFFF
##30428B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #30428b;
/* rgb */ color: rgb(48, 66, 139);
/* oklch */ color: oklch(40.6% 0.123 269.8);
Tailwind
colors: {
  custom: {
    50: '#7276ad',
    500: '#30428b',
    950: '#000000',
  },
}
SCSS
$custom: #30428b;
$custom-light: #7276ad;
$custom-dark: #000000;
JSON
{
  "hex": "#30428b",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 228.132,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40632,
    "c": 0.12303,
    "h": 269.8
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#30428B
secondary
#B3A364
accent
#BD50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30428B

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

Preview Lab → · Contrast checker → · Palette generator →

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