#4130B7#4130B7

#4130B7 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.200 H 279.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4130B7
RGBrgb(65, 48, 183)
HSLhsl(248, 58%, 45%)
HSVhsv(248, 74%, 72%)
CMYKcmyk(64.5%, 73.8%, 0%, 28.2%)
CIE-LABlab(31.01, 46.67, -68.42)
CIE-LCHlch(31.01, 82.83, 304.30°)
OKLaboklab(42.56% 0.0324 -0.1975)
OKLCHoklch(42.56% 0.2 279.3)
XYZxyz(11.7814, 6.6557, 45.4544)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130B7 #A6B730
analogous
#3062B7 #4130B7 #8530B7
triadic
#4130B7 #B74130 #30B741
tetradic
#4130B7 #B73062 #A6B730 #30B785
square
#4130B7 #B73062 #A6B730 #30B785
split-complementary
#4130B7 #B78530 #62B730
monochromatic
#1F1756 #302387 #4130B7 #6252D2 #8E83DE

Accessibility & contrast

On white

9.01
#4130B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4130B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4130B7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130B7#FFFFFF#000000##FFFFFF
##4130B71.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4130b7;
/* rgb */ color: rgb(65, 48, 183);
/* oklch */ color: oklch(42.6% 0.200 279.3);
Tailwind
colors: {
  custom: {
    50: '#856bce',
    500: '#4130b7',
    950: '#000000',
  },
}
SCSS
$custom: #4130b7;
$custom-light: #856bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4130b7",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 247.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.20014,
    "h": 279.3
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#4130B7
secondary
#BEC87B
accent
#E246CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4130B7

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

Preview Lab → · Contrast checker → · Palette generator →

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