#3130BC#3130BC

#3130BC is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.210 H 273.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3130BC
RGBrgb(49, 48, 188)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 74%)
CMYKcmyk(73.9%, 74.5%, 0%, 26.3%)
CIE-LABlab(30.39, 46.60, -72.44)
CIE-LCHlch(30.39, 86.14, 302.75°)
OKLaboklab(41.98% 0.0109 -0.2096)
OKLCHoklch(41.98% 0.21 273)
XYZxyz(11.3976, 6.3965, 48.2012)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130BC #BBBC30
analogous
#3075BC #3130BC #7730BC
triadic
#3130BC #BC3130 #30BC31
tetradic
#3130BC #BC3075 #BBBC30 #30BC77
square
#3130BC #BC3075 #BBBC30 #30BC77
split-complementary
#3130BC #BC7730 #75BC30
monochromatic
#18175A #24248B #3130BC #5655D4 #8786E0

Accessibility & contrast

On white

9.21
#3130BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3130BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130BC
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130BC#FFFFFF#000000##FFFFFF
##3130BC1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3130bc;
/* rgb */ color: rgb(49, 48, 188);
/* oklch */ color: oklch(42.0% 0.210 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f6ad1',
    500: '#3130bc',
    950: '#000000',
  },
}
SCSS
$custom: #3130bc;
$custom-light: #7f6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3130bc",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 240.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.2099,
    "h": 273
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#3130BC
secondary
#C9CA7E
accent
#E345E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3130BC

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

Preview Lab → · Contrast checker → · Palette generator →

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