#3130BA#3130BA

#3130BA is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.207 H 273.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3130BA
RGBrgb(49, 48, 186)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(73.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(30.18, 45.94, -71.60)
CIE-LCHlch(30.18, 85.07, 302.69°)
OKLaboklab(41.77% 0.0113 -0.2072)
OKLCHoklch(41.77% 0.207 273.1)
XYZxyz(11.1835, 6.3109, 47.0736)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130BA #B9BA30
analogous
#3074BA #3130BA #7630BA
triadic
#3130BA #BA3130 #30BA31
tetradic
#3130BA #BA3074 #B9BA30 #30BA76
square
#3130BA #BA3074 #B9BA30 #30BA76
split-complementary
#3130BA #BA7630 #74BA30
monochromatic
#171759 #242389 #3130BA #5554D3 #8685DF

Accessibility & contrast

On white

9.28
#3130BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3130BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130BA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130BA#FFFFFF#000000##FFFFFF
##3130BA1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0040B8
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3130ba;
/* rgb */ color: rgb(49, 48, 186);
/* oklch */ color: oklch(41.8% 0.207 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f6ad0',
    500: '#3130ba',
    950: '#000000',
  },
}
SCSS
$custom: #3130ba;
$custom-light: #7f6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3130ba",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 240.435,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.20749,
    "h": 273.1
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#3130BA
secondary
#C8C97D
accent
#E246E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3130BA

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

Preview Lab → · Contrast checker → · Palette generator →

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