#3130B9#3130B9

#3130B9 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.206 H 273.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#3130B9
RGBrgb(49, 48, 185)
HSLhsl(240, 59%, 46%)
HSVhsv(240, 74%, 73%)
CMYKcmyk(73.5%, 74.1%, 0%, 27.5%)
CIE-LABlab(30.08, 45.61, -71.18)
CIE-LCHlch(30.08, 84.54, 302.65°)
OKLaboklab(41.67% 0.0114 -0.2059)
OKLCHoklch(41.67% 0.206 273.2)
XYZxyz(11.0776, 6.2685, 46.5157)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B9 #B8B930
analogous
#3073B9 #3130B9 #7530B9
triadic
#3130B9 #B93130 #30B931
tetradic
#3130B9 #B93073 #B8B930 #30B975
square
#3130B9 #B93073 #B8B930 #30B975
split-complementary
#3130B9 #B97530 #73B930
monochromatic
#171758 #242388 #3130B9 #5554D3 #8584DF

Accessibility & contrast

On white

9.32
#3130B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3130B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B9
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B9#FFFFFF#000000##FFFFFF
##3130B91.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3130b9;
/* rgb */ color: rgb(49, 48, 185);
/* oklch */ color: oklch(41.7% 0.206 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f6acf',
    500: '#3130b9',
    950: '#000000',
  },
}
SCSS
$custom: #3130b9;
$custom-light: #7f6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b9",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 240.438,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.20627,
    "h": 273.2
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#3130B9
secondary
#C8C97C
accent
#E246E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3130B9

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

Preview Lab → · Contrast checker → · Palette generator →

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