#3130B7#3130B7

#3130B7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.204 H 273.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3130B7
RGBrgb(49, 48, 183)
HSLhsl(240, 58%, 45%)
HSVhsv(240, 74%, 72%)
CMYKcmyk(73.2%, 73.8%, 0%, 28.2%)
CIE-LABlab(29.87, 44.95, -70.34)
CIE-LCHlch(29.87, 83.47, 302.58°)
OKLaboklab(41.46% 0.0118 -0.2035)
OKLCHoklch(41.46% 0.204 273.3)
XYZxyz(10.8680, 6.1847, 45.4116)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130B7 #B6B730
analogous
#3073B7 #3130B7 #7430B7
triadic
#3130B7 #B73130 #30B731
tetradic
#3130B7 #B73073 #B6B730 #30B774
square
#3130B7 #B73073 #B6B730 #30B774
split-complementary
#3130B7 #B77430 #73B730
monochromatic
#171756 #242387 #3130B7 #5352D2 #8483DE

Accessibility & contrast

On white

9.39
#3130B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3130B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130B7
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130B7#FFFFFF#000000##FFFFFF
##3130B71.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3130b7;
/* rgb */ color: rgb(49, 48, 183);
/* oklch */ color: oklch(41.5% 0.204 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ace',
    500: '#3130b7',
    950: '#000000',
  },
}
SCSS
$custom: #3130b7;
$custom-light: #7e6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3130b7",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 240.444,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41457,
    "c": 0.20383,
    "h": 273.3
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3130B7

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

Preview Lab → · Contrast checker → · Palette generator →

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