#3130C7#3130C7

#3130C7 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.223 H 272.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3130C7
RGBrgb(49, 48, 199)
HSLhsl(240, 61%, 48%)
HSVhsv(240, 76%, 78%)
CMYKcmyk(75.4%, 75.9%, 0%, 22%)
CIE-LABlab(31.55, 50.17, -76.99)
CIE-LCHlch(31.55, 91.89, 303.09°)
OKLaboklab(43.14% 0.0088 -0.2228)
OKLCHoklch(43.14% 0.223 272.3)
XYZxyz(12.6289, 6.8890, 54.6859)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130C7 #C6C730
analogous
#307AC7 #3130C7 #7C30C7
triadic
#3130C7 #C73130 #30C731
tetradic
#3130C7 #C7307A #C6C730 #30C77C
square
#3130C7 #C7307A #C6C730 #30C77C
split-complementary
#3130C7 #C77C30 #7AC730
monochromatic
#191864 #252496 #3130C7 #5D5CD8 #8E8EE4

Accessibility & contrast

On white

8.83
#3130C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3130C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130C7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130C7#FFFFFF#000000##FFFFFF
##3130C71.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0043C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3130c7;
/* rgb */ color: rgb(49, 48, 199);
/* oklch */ color: oklch(43.1% 0.223 272.3);
Tailwind
colors: {
  custom: {
    50: '#826bd9',
    500: '#3130c7',
    950: '#000000',
  },
}
SCSS
$custom: #3130c7;
$custom-light: #826bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3130c7",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 240.397,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.22302,
    "h": 272.3
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#3130C7
secondary
#CECE85
accent
#E444E3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3130C7

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

Preview Lab → · Contrast checker → · Palette generator →

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