#3130BB#3130BB

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

Color values

HEX#3130BB
RGBrgb(49, 48, 187)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(73.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(30.29, 46.27, -72.02)
CIE-LCHlch(30.29, 85.60, 302.72°)
OKLaboklab(41.87% 0.0111 -0.2084)
OKLCHoklch(41.87% 0.209 273)
XYZxyz(11.2902, 6.3536, 47.6354)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130BB #BABB30
analogous
#3074BB #3130BB #7630BB
triadic
#3130BB #BB3130 #30BB31
tetradic
#3130BB #BB3074 #BABB30 #30BB76
square
#3130BB #BB3074 #BABB30 #30BB76
split-complementary
#3130BB #BB7630 #74BB30
monochromatic
#17175A #24238A #3130BB #5655D3 #8686E0

Accessibility & contrast

On white

9.25
#3130BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3130BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130BB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130BB#FFFFFF#000000##FFFFFF
##3130BB1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3130bb;
/* rgb */ color: rgb(49, 48, 187);
/* oklch */ color: oklch(41.9% 0.209 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f6ad1',
    500: '#3130bb',
    950: '#000000',
  },
}
SCSS
$custom: #3130bb;
$custom-light: #7f6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3130bb",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 240.432,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41874,
    "c": 0.20869,
    "h": 273
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#3130BB
secondary
#C9C97D
accent
#E245E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3130BB

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

Preview Lab → · Contrast checker → · Palette generator →

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