#3130A5#3130A5

#3130A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.181 H 274.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3130A5
RGBrgb(49, 48, 165)
HSLhsl(241, 55%, 42%)
HSVhsv(241, 71%, 65%)
CMYKcmyk(70.3%, 70.9%, 0%, 35.3%)
CIE-LABlab(28.07, 38.90, -62.53)
CIE-LCHlch(28.07, 73.64, 301.88°)
OKLaboklab(39.63% 0.0148 -0.1807)
OKLCHoklch(39.63% 0.181 274.7)
XYZxyz(9.1129, 5.4826, 36.1680)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130A5 #A4A530
analogous
#306AA5 #3130A5 #6C30A5
triadic
#3130A5 #A53130 #30A531
tetradic
#3130A5 #A5306A #A4A530 #30A56C
square
#3130A5 #A5306A #A4A530 #30A56C
split-complementary
#3130A5 #A56C30 #6AA530
monochromatic
#151446 #232276 #3130A5 #4948CA #7978D8

Accessibility & contrast

On white

10.02
#3130A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3130A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130A5
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130A5#FFFFFF#000000##FFFFFF
##3130A51.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3130a5;
/* rgb */ color: rgb(49, 48, 165);
/* oklch */ color: oklch(39.6% 0.181 274.7);
Tailwind
colors: {
  custom: {
    50: '#7a69c1',
    500: '#3130a5',
    950: '#000000',
  },
}
SCSS
$custom: #3130a5;
$custom-light: #7a69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3130a5",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 240.513,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.18133,
    "h": 274.7
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#3130A5
secondary
#BFC071
accent
#DE4ADD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3130A5

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

Preview Lab → · Contrast checker → · Palette generator →

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