#30429F#30429F

#30429F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.152 H 270.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#30429F
RGBrgb(48, 66, 159)
HSLhsl(230, 54%, 41%)
HSVhsv(230, 70%, 62%)
CMYKcmyk(69.8%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.87, 25.08, -52.69)
CIE-LCHlch(31.87, 58.36, 295.46°)
OKLaboklab(42.23% 0.0007 -0.1518)
OKLCHoklch(42.23% 0.152 270.3)
XYZxyz(9.4230, 7.0271, 33.6539)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30429F #9F8D30
analogous
#30799F #30429F #55309F
triadic
#30429F #9F3042 #429F30
tetradic
#30429F #9F3079 #9F8D30 #309F55
square
#30429F #9F3079 #9F8D30 #309F55
split-complementary
#30429F #9F5530 #799F30
monochromatic
#141B41 #222E70 #30429F #455AC7 #7484D5

Accessibility & contrast

On white

8.73
#30429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#30429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30429F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30429F#FFFFFF#000000##FFFFFF
##30429F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30429f;
/* rgb */ color: rgb(48, 66, 159);
/* oklch */ color: oklch(42.2% 0.152 270.3);
Tailwind
colors: {
  custom: {
    50: '#7776bc',
    500: '#30429f',
    950: '#000000',
  },
}
SCSS
$custom: #30429f;
$custom-light: #7776bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30429f",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 230.27,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.1518,
    "h": 270.3
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#30429F
secondary
#BDB06E
accent
#C54BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #30429F

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

Preview Lab → · Contrast checker → · Palette generator →

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