#3130C8#3130C8

#3130C8 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.3% C 0.224 H 272.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3130C8
RGBrgb(49, 48, 200)
HSLhsl(240, 61%, 49%)
HSVhsv(240, 76%, 78%)
CMYKcmyk(75.5%, 76%, 0%, 21.6%)
CIE-LABlab(31.66, 50.49, -77.40)
CIE-LCHlch(31.66, 92.41, 303.12°)
OKLaboklab(43.25% 0.0087 -0.224)
OKLCHoklch(43.25% 0.224 272.2)
XYZxyz(12.7454, 6.9356, 55.2994)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130C8 #C7C830
analogous
#307BC8 #3130C8 #7D30C8
triadic
#3130C8 #C83130 #30C831
tetradic
#3130C8 #C8307B #C7C830 #30C87D
square
#3130C8 #C8307B #C7C830 #30C87D
split-complementary
#3130C8 #C87D30 #7BC830
monochromatic
#191865 #252497 #3130C8 #5E5DD8 #8F8EE4

Accessibility & contrast

On white

8.80
#3130C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3130C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130C8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130C8#FFFFFF#000000##FFFFFF
##3130C81.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3130c8;
/* rgb */ color: rgb(49, 48, 200);
/* oklch */ color: oklch(43.3% 0.224 272.2);
Tailwind
colors: {
  custom: {
    50: '#826bda',
    500: '#3130c8',
    950: '#000000',
  },
}
SCSS
$custom: #3130c8;
$custom-light: #826bda;
$custom-dark: #000000;
JSON
{
  "hex": "#3130c8",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 240.395,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43251,
    "c": 0.2242,
    "h": 272.2
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3130C8

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

Preview Lab → · Contrast checker → · Palette generator →

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