#30428F#30428F

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

Color values

HEX#30428F
RGBrgb(48, 66, 143)
HSLhsl(229, 50%, 37%)
HSVhsv(229, 66%, 56%)
CMYKcmyk(66.4%, 53.8%, 0%, 43.9%)
CIE-LABlab(30.66, 19.13, -44.91)
CIE-LCHlch(30.66, 48.82, 293.08°)
OKLaboklab(40.94% -0.0001 -0.1289)
OKLCHoklch(40.94% 0.129 269.9)
XYZxyz(8.1234, 6.5072, 26.8092)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30428F #8F7D30
analogous
#30718F #30428F #4E308F
triadic
#30428F #8F3042 #428F30
tetradic
#30428F #8F3071 #8F7D30 #308F4E
square
#30428F #8F3071 #8F7D30 #308F4E
split-complementary
#30428F #8F4E30 #718F30
monochromatic
#111833 #212D61 #30428F #3F57BD #6C7ECE

Accessibility & contrast

On white

9.12
#30428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30428F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30428F#FFFFFF#000000##FFFFFF
##30428F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30428f;
/* rgb */ color: rgb(48, 66, 143);
/* oklch */ color: oklch(40.9% 0.129 269.9);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#30428f',
    950: '#000000',
  },
}
SCSS
$custom: #30428f;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30428f",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 228.632,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.12891,
    "h": 269.9
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#30428F
secondary
#B5A666
accent
#BF4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #30428F

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

Preview Lab → · Contrast checker → · Palette generator →

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