#4130B4#4130B4

#4130B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.3% C 0.197 H 279.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4130B4
RGBrgb(65, 48, 180)
HSLhsl(248, 58%, 45%)
HSVhsv(248, 73%, 71%)
CMYKcmyk(63.9%, 73.3%, 0%, 29.4%)
CIE-LABlab(30.72, 45.74, -67.12)
CIE-LCHlch(30.72, 81.22, 304.27°)
OKLaboklab(42.26% 0.0331 -0.1937)
OKLCHoklch(42.26% 0.197 279.7)
XYZxyz(11.4725, 6.5321, 43.8274)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130B4 #A3B430
analogous
#3061B4 #4130B4 #8330B4
triadic
#4130B4 #B44130 #30B441
tetradic
#4130B4 #B43061 #A3B430 #30B483
square
#4130B4 #B43061 #A3B430 #30B483
split-complementary
#4130B4 #B48330 #61B430
monochromatic
#1E1653 #302384 #4130B4 #6151D1 #8D81DD

Accessibility & contrast

On white

9.10
#4130B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4130B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4130B4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130B4#FFFFFF#000000##FFFFFF
##4130B41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4130b4;
/* rgb */ color: rgb(65, 48, 180);
/* oklch */ color: oklch(42.3% 0.197 279.7);
Tailwind
colors: {
  custom: {
    50: '#846bcc',
    500: '#4130b4',
    950: '#000000',
  },
}
SCSS
$custom: #4130b4;
$custom-light: #846bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4130b4",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 247.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.1965,
    "h": 279.7
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#4130B4
secondary
#BDC679
accent
#E147CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4130B4

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

Preview Lab → · Contrast checker → · Palette generator →

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