#4030AE#4030AE

#4030AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.189 H 280.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4030AE
RGBrgb(64, 48, 174)
HSLhsl(248, 57%, 44%)
HSVhsv(248, 72%, 68%)
CMYKcmyk(63.2%, 72.4%, 0%, 31.8%)
CIE-LABlab(30.06, 43.72, -64.63)
CIE-LCHlch(30.06, 78.03, 304.08°)
OKLaboklab(41.6% 0.0329 -0.1864)
OKLCHoklch(41.6% 0.189 280)
XYZxyz(10.8089, 6.2591, 40.6747)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030AE #9EAE30
analogous
#305FAE #4030AE #7F30AE
triadic
#4030AE #AE4030 #30AE40
tetradic
#4030AE #AE305F #9EAE30 #30AE7F
square
#4030AE #AE305F #9EAE30 #30AE7F
split-complementary
#4030AE #AE7F30 #5FAE30
monochromatic
#1D164E #2E237E #4030AE #5E4DCE #897DDB

Accessibility & contrast

On white

9.33
#4030AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4030AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030AE
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030AE#FFFFFF#000000##FFFFFF
##4030AE1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4030ae;
/* rgb */ color: rgb(64, 48, 174);
/* oklch */ color: oklch(41.6% 0.189 280.0);
Tailwind
colors: {
  custom: {
    50: '#836ac7',
    500: '#4030ae',
    950: '#000000',
  },
}
SCSS
$custom: #4030ae;
$custom-light: #836ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4030ae",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 247.619,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.18933,
    "h": 280
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#4030AE
secondary
#BAC476
accent
#E048CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4030AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4030AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva