#4130A2#4130A2

#4130A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.174 H 282.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4130A2
RGBrgb(65, 48, 162)
HSLhsl(249, 54%, 41%)
HSVhsv(249, 70%, 64%)
CMYKcmyk(59.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(29.02, 40.06, -59.11)
CIE-LCHlch(29.02, 71.40, 304.13°)
OKLaboklab(40.54% 0.0366 -0.1703)
OKLCHoklch(40.54% 0.174 282.1)
XYZxyz(9.7565, 5.8457, 34.7896)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4130A2 #91A230
analogous
#3058A2 #4130A2 #7A30A2
triadic
#4130A2 #A24130 #30A241
tetradic
#4130A2 #A23058 #91A230 #30A27A
square
#4130A2 #A23058 #91A230 #30A27A
split-complementary
#4130A2 #A27A30 #58A230
monochromatic
#1B1444 #2E2273 #4130A2 #5A47C8 #8476D6

Accessibility & contrast

On white

9.68
#4130A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4130A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4130A2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4130A2#FFFFFF#000000##FFFFFF
##4130A21.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4130a2;
/* rgb */ color: rgb(65, 48, 162);
/* oklch */ color: oklch(40.5% 0.174 282.1);
Tailwind
colors: {
  custom: {
    50: '#816abf',
    500: '#4130a2',
    950: '#000000',
  },
}
SCSS
$custom: #4130a2;
$custom-light: #816abf;
$custom-dark: #000000;
JSON
{
  "hex": "#4130a2",
  "rgb": {
    "r": 65,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 248.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.17414,
    "h": 282.1
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4130A2

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

Preview Lab → · Contrast checker → · Palette generator →

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