#4130B8#4130B8

#4130B8 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.201 H 279.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4130B8
RGBrgb(65, 48, 184)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 72%)
CMYKcmyk(64.7%, 73.9%, 0%, 27.8%)
CIE-LABlab(31.11, 46.98, -68.85)
CIE-LCHlch(31.11, 83.36, 304.31°)
OKLaboklab(42.66% 0.0322 -0.1988)
OKLCHoklch(42.66% 0.201 279.2)
XYZxyz(11.8859, 6.6975, 46.0045)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130B8 #A7B830
analogous
#3063B8 #4130B8 #8530B8
triadic
#4130B8 #B84130 #30B841
tetradic
#4130B8 #B83063 #A7B830 #30B885
square
#4130B8 #B83063 #A7B830 #30B885
split-complementary
#4130B8 #B88530 #63B830
monochromatic
#1F1757 #302387 #4130B8 #6353D2 #8F84DF

Accessibility & contrast

On white

8.98
#4130B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4130B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4130B8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130B8#FFFFFF#000000##FFFFFF
##4130B81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4130b8;
/* rgb */ color: rgb(65, 48, 184);
/* oklch */ color: oklch(42.7% 0.201 279.2);
Tailwind
colors: {
  custom: {
    50: '#856bcf',
    500: '#4130b8',
    950: '#000000',
  },
}
SCSS
$custom: #4130b8;
$custom-light: #856bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4130b8",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 247.5,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.20135,
    "h": 279.2
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4130B8

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

Preview Lab → · Contrast checker → · Palette generator →

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