#4030AD#4030AD

#4030AD is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.188 H 280.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4030AD
RGBrgb(64, 48, 173)
HSLhsl(248, 57%, 43%)
HSVhsv(248, 72%, 68%)
CMYKcmyk(63%, 72.3%, 0%, 32.2%)
CIE-LABlab(29.96, 43.41, -64.19)
CIE-LCHlch(29.96, 77.49, 304.07°)
OKLaboklab(41.5% 0.0331 -0.1852)
OKLCHoklch(41.5% 0.188 280.1)
XYZxyz(10.7117, 6.2202, 40.1632)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030AD #9DAD30
analogous
#305EAD #4030AD #7E30AD
triadic
#4030AD #AD4030 #30AD40
tetradic
#4030AD #AD305E #9DAD30 #30AD7E
square
#4030AD #AD305E #9DAD30 #30AD7E
split-complementary
#4030AD #AD7E30 #5EAD30
monochromatic
#1D154D #2E237D #4030AD #5D4DCE #897DDB

Accessibility & contrast

On white

9.36
#4030AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4030AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030AD
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030AD#FFFFFF#000000##FFFFFF
##4030AD1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4030ad;
/* rgb */ color: rgb(64, 48, 173);
/* oklch */ color: oklch(41.5% 0.188 280.1);
Tailwind
colors: {
  custom: {
    50: '#826ac7',
    500: '#4030ad',
    950: '#000000',
  },
}
SCSS
$custom: #4030ad;
$custom-light: #826ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4030ad",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 247.68,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.415,
    "c": 0.1881,
    "h": 280.1
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#4030AD
secondary
#B9C375
accent
#E048CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4030AD

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

Preview Lab → · Contrast checker → · Palette generator →

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