#4130A4#4130A4

#4130A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.177 H 281.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4130A4
RGBrgb(65, 48, 164)
HSLhsl(249, 55%, 42%)
HSVhsv(249, 71%, 64%)
CMYKcmyk(60.4%, 70.7%, 0%, 35.7%)
CIE-LABlab(29.20, 40.69, -60.02)
CIE-LCHlch(29.20, 72.51, 304.14°)
OKLaboklab(40.72% 0.0362 -0.1729)
OKLCHoklch(40.72% 0.177 281.8)
XYZxyz(9.9357, 5.9174, 35.7334)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130A4 #93A430
analogous
#3059A4 #4130A4 #7B30A4
triadic
#4130A4 #A44130 #30A441
tetradic
#4130A4 #A43059 #93A430 #30A47B
square
#4130A4 #A43059 #93A430 #30A47B
split-complementary
#4130A4 #A47B30 #59A430
monochromatic
#1B1445 #2E2275 #4130A4 #5B48C9 #8577D7

Accessibility & contrast

On white

9.62
#4130A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4130A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4130A4
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130A4#FFFFFF#000000##FFFFFF
##4130A41.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4130a4;
/* rgb */ color: rgb(65, 48, 164);
/* oklch */ color: oklch(40.7% 0.177 281.8);
Tailwind
colors: {
  custom: {
    50: '#816ac0',
    500: '#4130a4',
    950: '#000000',
  },
}
SCSS
$custom: #4130a4;
$custom-light: #816ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#4130a4",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 248.793,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40723,
    "c": 0.17667,
    "h": 281.8
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#4130A4
secondary
#B4BF70
accent
#DE4AC8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #4130A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4130A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva