#4130B5#4130B5

#4130B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.4% C 0.198 H 279.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4130B5
RGBrgb(65, 48, 181)
HSLhsl(248, 58%, 45%)
HSVhsv(248, 73%, 71%)
CMYKcmyk(64.1%, 73.5%, 0%, 29%)
CIE-LABlab(30.81, 46.05, -67.56)
CIE-LCHlch(30.81, 81.76, 304.28°)
OKLaboklab(42.36% 0.0329 -0.195)
OKLCHoklch(42.36% 0.198 279.6)
XYZxyz(11.5748, 6.5730, 44.3659)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130B5 #A4B530
analogous
#3062B5 #4130B5 #8330B5
triadic
#4130B5 #B54130 #30B541
tetradic
#4130B5 #B53062 #A4B530 #30B583
square
#4130B5 #B53062 #A4B530 #30B583
split-complementary
#4130B5 #B58330 #62B530
monochromatic
#1E1654 #302385 #4130B5 #6251D1 #8D82DE

Accessibility & contrast

On white

9.07
#4130B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4130B5
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130B5#FFFFFF#000000##FFFFFF
##4130B51.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4130b5;
/* rgb */ color: rgb(65, 48, 181);
/* oklch */ color: oklch(42.4% 0.198 279.6);
Tailwind
colors: {
  custom: {
    50: '#846bcc',
    500: '#4130b5',
    950: '#000000',
  },
}
SCSS
$custom: #4130b5;
$custom-light: #846bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4130b5",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 247.669,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.19772,
    "h": 279.6
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#4130B5
secondary
#BDC77A
accent
#E146CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4130B5

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

Preview Lab → · Contrast checker → · Palette generator →

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