#3130A4#3130A4

#3130A4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.180 H 274.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3130A4
RGBrgb(49, 48, 164)
HSLhsl(241, 55%, 42%)
HSVhsv(241, 71%, 64%)
CMYKcmyk(70.1%, 70.7%, 0%, 35.7%)
CIE-LABlab(27.97, 38.56, -62.09)
CIE-LCHlch(27.97, 73.09, 301.84°)
OKLaboklab(39.53% 0.0149 -0.1794)
OKLCHoklch(39.53% 0.18 274.8)
XYZxyz(9.0222, 5.4464, 35.6905)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130A4 #A3A430
analogous
#3069A4 #3130A4 #6B30A4
triadic
#3130A4 #A43130 #30A431
tetradic
#3130A4 #A43069 #A3A430 #30A46B
square
#3130A4 #A43069 #A3A430 #30A46B
split-complementary
#3130A4 #A46B30 #69A430
monochromatic
#151445 #232275 #3130A4 #4948C9 #7877D7

Accessibility & contrast

On white

10.05
#3130A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3130A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130A4
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130A4#FFFFFF#000000##FFFFFF
##3130A41.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3130a4;
/* rgb */ color: rgb(49, 48, 164);
/* oklch */ color: oklch(39.5% 0.180 274.8);
Tailwind
colors: {
  custom: {
    50: '#7a69c0',
    500: '#3130a4',
    950: '#000000',
  },
}
SCSS
$custom: #3130a4;
$custom-light: #7a69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3130a4",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 240.517,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.18005,
    "h": 274.8
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#3130A4
secondary
#BFBF70
accent
#DE4ADD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3130A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3130A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva