#3130CA#3130CA

#3130CA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.227 H 272.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3130CA
RGBrgb(49, 48, 202)
HSLhsl(240, 62%, 49%)
HSVhsv(240, 76%, 79%)
CMYKcmyk(75.7%, 76.2%, 0%, 20.8%)
CIE-LABlab(31.87, 51.13, -78.21)
CIE-LCHlch(31.87, 93.44, 303.18°)
OKLaboklab(43.47% 0.0083 -0.2264)
OKLCHoklch(43.47% 0.227 272.1)
XYZxyz(12.9807, 7.0297, 56.5384)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3130CA #C9CA30
analogous
#307CCA #3130CA #7E30CA
triadic
#3130CA #CA3130 #30CA31
tetradic
#3130CA #CA307C #C9CA30 #30CA7E
square
#3130CA #CA307C #C9CA30 #30CA7E
split-complementary
#3130CA #CA7E30 #7CCA30
monochromatic
#191867 #252499 #3130CA #5F5ED9 #9090E5

Accessibility & contrast

On white

8.73
#3130CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3130CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3130CA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3130CA#FFFFFF#000000##FFFFFF
##3130CA1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3130ca;
/* rgb */ color: rgb(49, 48, 202);
/* oklch */ color: oklch(43.5% 0.227 272.1);
Tailwind
colors: {
  custom: {
    50: '#826bdc',
    500: '#3130ca',
    950: '#000000',
  },
}
SCSS
$custom: #3130ca;
$custom-light: #826bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3130ca",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 240.39,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.22654,
    "h": 272.1
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#3130CA
secondary
#CFCF87
accent
#E543E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3130CA

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

Preview Lab → · Contrast checker → · Palette generator →

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