#3130B5#3130B5

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

Color values

HEX#3130B5
RGBrgb(49, 48, 181)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 73%, 71%)
CMYKcmyk(72.9%, 73.5%, 0%, 29%)
CIE-LABlab(29.67, 44.29, -69.49)
CIE-LCHlch(29.67, 82.40, 302.51°)
OKLaboklab(41.25% 0.0121 -0.201)
OKLCHoklch(41.25% 0.201 273.5)
XYZxyz(10.6613, 6.1020, 44.3230)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B5 #B4B530
analogous
#3072B5 #3130B5 #7330B5
triadic
#3130B5 #B53130 #30B531
tetradic
#3130B5 #B53072 #B4B530 #30B573
square
#3130B5 #B53072 #B4B530 #30B573
split-complementary
#3130B5 #B57330 #72B530
monochromatic
#171654 #242385 #3130B5 #5251D1 #8282DE

Accessibility & contrast

On white

9.46
#3130B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3130B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B5
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B5#FFFFFF#000000##FFFFFF
##3130B51.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3130b5;
/* rgb */ color: rgb(49, 48, 181);
/* oklch */ color: oklch(41.3% 0.201 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e6acc',
    500: '#3130b5',
    950: '#000000',
  },
}
SCSS
$custom: #3130b5;
$custom-light: #7e6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b5",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 240.451,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.20138,
    "h": 273.5
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#3130B5
secondary
#C6C77A
accent
#E146E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #3130B5

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

Preview Lab → · Contrast checker → · Palette generator →

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