#3130B4#3130B4

#3130B4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.1% C 0.200 H 273.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3130B4
RGBrgb(49, 48, 180)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 71%)
CMYKcmyk(72.8%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.57, 43.96, -69.06)
CIE-LCHlch(29.57, 81.86, 302.48°)
OKLaboklab(41.15% 0.0123 -0.1998)
OKLCHoklch(41.15% 0.2 273.5)
XYZxyz(10.5590, 6.0611, 43.7846)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B4 #B3B430
analogous
#3071B4 #3130B4 #7330B4
triadic
#3130B4 #B43130 #30B431
tetradic
#3130B4 #B43071 #B3B430 #30B473
square
#3130B4 #B43071 #B3B430 #30B473
split-complementary
#3130B4 #B47330 #71B430
monochromatic
#171653 #242384 #3130B4 #5251D1 #8281DD

Accessibility & contrast

On white

9.49
#3130B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3130B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B4
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B4#FFFFFF#000000##FFFFFF
##3130B41.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3130b4;
/* rgb */ color: rgb(49, 48, 180);
/* oklch */ color: oklch(41.1% 0.200 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d6acc',
    500: '#3130b4',
    950: '#000000',
  },
}
SCSS
$custom: #3130b4;
$custom-light: #7d6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b4",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 240.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.20015,
    "h": 273.5
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#3130B4
secondary
#C6C679
accent
#E147E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3130B4

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

Preview Lab → · Contrast checker → · Palette generator →

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