#3130BD#3130BD

#3130BD is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.211 H 272.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3130BD
RGBrgb(49, 48, 189)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 75%, 74%)
CMYKcmyk(74.1%, 74.6%, 0%, 25.9%)
CIE-LABlab(30.50, 46.93, -72.86)
CIE-LCHlch(30.50, 86.66, 302.78°)
OKLaboklab(42.08% 0.0107 -0.2108)
OKLCHoklch(42.08% 0.211 272.9)
XYZxyz(11.5058, 6.4398, 48.7709)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130BD #BCBD30
analogous
#3075BD #3130BD #7830BD
triadic
#3130BD #BD3130 #30BD31
tetradic
#3130BD #BD3075 #BCBD30 #30BD78
square
#3130BD #BD3075 #BCBD30 #30BD78
split-complementary
#3130BD #BD7830 #75BD30
monochromatic
#18175B #24248C #3130BD #5756D4 #8887E0

Accessibility & contrast

On white

9.18
#3130BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3130BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130BD
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130BD#FFFFFF#000000##FFFFFF
##3130BD1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3130bd;
/* rgb */ color: rgb(49, 48, 189);
/* oklch */ color: oklch(42.1% 0.211 272.9);
Tailwind
colors: {
  custom: {
    50: '#7f6ad2',
    500: '#3130bd',
    950: '#000000',
  },
}
SCSS
$custom: #3130bd;
$custom-light: #7f6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#3130bd",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 240.426,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.21111,
    "h": 272.9
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#3130BD
secondary
#CACA7F
accent
#E345E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3130BD

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

Preview Lab → · Contrast checker → · Palette generator →

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