#30429C#30429C

#30429C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.148 H 270.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#30429C
RGBrgb(48, 66, 156)
HSLhsl(230, 53%, 40%)
HSVhsv(230, 69%, 61%)
CMYKcmyk(69.2%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.63, 23.97, -51.26)
CIE-LCHlch(31.63, 56.59, 295.06°)
OKLaboklab(41.98% 0.0006 -0.1476)
OKLCHoklch(41.98% 0.148 270.2)
XYZxyz(9.1658, 6.9242, 32.2995)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30429C #9C8A30
analogous
#30789C #30429C #54309C
triadic
#30429C #9C3042 #429C30
tetradic
#30429C #9C3078 #9C8A30 #309C54
square
#30429C #9C3078 #9C8A30 #309C54
split-complementary
#30429C #9C5430 #789C30
monochromatic
#131A3E #222E6D #30429C #4459C5 #7383D4

Accessibility & contrast

On white

8.81
#30429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#30429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30429C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30429C#FFFFFF#000000##FFFFFF
##30429C1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30429c;
/* rgb */ color: rgb(48, 66, 156);
/* oklch */ color: oklch(42.0% 0.148 270.2);
Tailwind
colors: {
  custom: {
    50: '#7676ba',
    500: '#30429c',
    950: '#000000',
  },
}
SCSS
$custom: #30429c;
$custom-light: #7676ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30429c",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 230,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.14759,
    "h": 270.2
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#30429C
secondary
#BCAE6C
accent
#C44BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #30429C

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

Preview Lab → · Contrast checker → · Palette generator →

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